Setting Up WizBot on Windows With the Updater¶
Table of Contents |
---|
Prerequisites |
Setup |
Starting the Bot |
Updating WizBot |
Manually Installing the Prerequisites from the Updater |
Note: If you want to make changes to WizBot's source code, please follow the From Source guide instead.
If you have Windows 7 or a 32-bit system, please refer to the From Source guide.
Prerequisites¶
- Windows 8 or later (64-bit)
- dotNET Core 3.1 SDK (restart Windows after installation)
- Redis (supplied with the updater)
- Create a Discord Bot application and invite the bot to your server.
Optional¶
- Notepad++ (makes it easier to edit your credentials)
- Visual C++ 2010 (x86) and Visual C++ 2017 (x64) (both are required if you want WizBot to play music - restart Windows after installation)
Setup¶
- Download and run the WizBot Updater. Currently not avaliable.
- Click on
Install Redis
to install Redis. - Select this option during the Redis installation:
- Click on
Install ffmpeg
andInstall youtube-dl
if you want music features. - Click on
Update
and go through the installation wizard to install WizBot. - When installation is finished, make sure the
Open credentials.json
option is checked.
If you happen to close the wizard with that option unchecked, you can easily find the credentials file in C:\Program Files\WizBot\system
.
Starting the bot¶
- Either click on
Launch Bot
button in the updater or run the bot via its desktop shortcut.
Updating WizBot¶
- Make sure WizBot is closed and not running
(Run .die
in a connected server to ensure it's not running).
- Open WizBot Updater
- If updates are available, you will be able to click on the Update button
- Launch the bot
- You've updated and are running again, easy as that!
If the updater fails to install the prerequisites for any reason¶
You can still install them manually:
- Redis Installer - Download and run the
.msi
file - ffmpeg-32bit | ffmpeg-64bit - Download the appropriate version for your system (32 bit if you're running a 32 bit OS, or 64 if you're running a 64bit OS). Unzip it, and move
ffmpeg.exe
to a path that's in your PATH environment variable. - youtube-dl - Click to download the file. Then put
youtube-dl.exe
in a path that's in your PATH environment variable.
Last update: November 14, 2020