Skip to content

SCPSL Discord Bot is a Player Count bot written in python for Discord.

License

Notifications You must be signed in to change notification settings

Bruno-Neumann/SCPSL-Discord-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 

Repository files navigation

SCPSL-Discord-Bot

Price Codesize Release

SCPSL Discord Bot is a Player Count bot written in python for Discord.

Requirements

  • Verified SCP:SL Gameserver

  • Something to run the bot 24/7

  • Python 3.5.3 or higher

  • Discord Server

Installation Guide

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

Get your server account id and the api key

You can use the scpsl server console to get the id

!id

And the api key

!api show

Get a bot token

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.

Edit main.py

Now paste your account id and the api key in the quotes and the bot token in the quotes.

Alt Text

Run the bot

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

Other

If you need help feel free to dm me _bruno.