Example:
-
Open cmd and type
git clone https://github.com/annguyen2k8/Main-bot-py
-
type
cd Main-bot-py
. -
In
config.py
you can edit line 4TOKEN = os.environ.get("token_main_bot")
toTOKEN = "YOUR TOKEN"
or use environment variable like me to protect your token. -
And run with command
python main.py
to start bot. -
I will code many feature cogs and you can download, add it in folder
cogs
.
NOTE: I have code a anti send invite link in discord in folder cogs/anti_invite
, you can use /anti_invite <enable|disable>
to toggle anti invite.