-
Verified SCP:SL Gameserver
-
Something to run the bot 24/7
-
Python 3.5.3 or higher
-
Discord Server
1.Installing discord.py
You can install it on Linux/macOS by using this command
python3 -m pip install -U discord.py
You can install it on Windows by using this command
py -3 -m pip install -U discord.py
2. Installing requests
You can install it on Linux/macOS by using this command
python3 -m pip install -U requests
You can install it on Windows by using this command
py -3 -m pip install -U requests
3. Installing the bot
-
Download the latest release here
-
Get your server account id and api key
-
Get a bot token
-
Edit the bot.py file
You can use the scpsl server console to get the id
!id
And the api key
!api show
You need to got to the Discord Developer Portal then click New Application in the top right corner.
You can name the bot how ever you want.
Click on create and then click on the left side bot.
You need to build a bot then you can see the profile of your bot.
Get the token by clicking on copy.
Now paste your account id and the api key in the quotes and the bot token in the quotes.
On Windows you can just open bot.py
On Debian/Ubuntu you can just open the bot via the terminal. You need to navigate to the directory where the bot is located and use the command
./main.py
If you need help feel free to dm me _bruno.