Giter Site home page Giter Site logo

bruno-neumann / scpsl-discord-bot Goto Github PK

View Code? Open in Web Editor NEW
8.0 3.0 1.0 75 KB

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

License: GNU General Public License v3.0

Python 100.00%
scpsl scp-sl scpsl-server scp-secret-laboratory discord discord-bot bot

scpsl-discord-bot's Introduction

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 Linux 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

./start.sh

Other

If you need help feel free to dm me _bruno.

scpsl-discord-bot's People

Contributors

bruno-neumann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.