This repository has been archived by the owner on Oct 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 56
Install – Self Hosting
Nintendofan885 edited this page Jul 25, 2020
·
27 revisions
- Python >= 3.6
- discord.py -
python3 -m pip install discord.py
- requests -
python3 -m pip install requests
You can install the dependencies by opening up a command prompt and type pip install -r requirements.txt
- Linux user, create a user called
discordgsm
-adduser discordgsm
. Windows user please skip this step. - Download source code from https://github.com/DiscordGSM/DiscordGSM/releases
- Edit
settings.json
underconfigs
folder, set"token"="<bot_token>"
. You can get<bot_token>
on https://discord.com/developers/applications/ - Run the bot with command
python3 bot.py
Get the invite link from https://discord.com/developers/applications/ with permission 268954704
Ex: https://discord.com/api/oauth2/authorize?client_id=<cid>&permissions=268954704&scope=bot
Alternatively, you can get the invite link by - python3 getbotinvitelink.py
Wiki of DiscordGSM | Discord: https://discord.gg/Cg4Au9T