-
-
Notifications
You must be signed in to change notification settings - Fork 320
Setup
Krypton edited this page Oct 16, 2023
·
2 revisions
-
Configure
config.json
:-
Set your bot's prefix and invite link in the
config.json
file. -
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
TOKEN
or edit the.env
file with your bot token. - To set up the token you will have to either make use of the
.env.example
file, either copy or rename it to.env
and replaceYOUR_BOT_TOKEN_HERE
with 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.txt
to install the required packages.
- Run
-
Start the Bot:
- Run
python bot.py
to launch your bot.
- Run