-
Notifications
You must be signed in to change notification settings - Fork 358
Setup
Krypton edited this page Oct 16, 2023
·
3 revisions
-
Configure
config.json:-
Set your bot's prefix and invite link in the
config.jsonfile. -
Here is an explanation of what everything is:
Variable What it is YOUR_BOT_PREFIX_HERE The prefix you want to use for normal commands YOUR_BOT_INVITE_LINK_HERE The link to invite the bot
-
-
Set the Bot Token:
- Create an environment variable named
TOKENor edit the.envfile with your bot token. - To set up the token you will have to either make use of the
.env.examplefile, either copy or rename it to.envand replaceYOUR_BOT_TOKEN_HEREwith your bot's token or simply create an environment variable namedTOKEN.
- Create an environment variable named
-
Install Requirements:
- Run
python -m pip install -r requirements.txtto install the required packages.
- Run
-
Start the Bot:
- Run
python bot.pyto launch your bot.
- Run