Skip to content

Bot for displaying the online status of your SCP: EVENT CLASSIFIED servers.

Notifications You must be signed in to change notification settings

Archotech/OnlineDiscordBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OnlineDiscordBot

Bot for displaying the online status of your SCP: EVENT CLASSIFIED servers.

To use it you need to specify your server data in config.json file.

Config fields:

  • servers – an array of servers whose online you want to display;

  • bot_token – token of your discord-bot, you can get it here;

  • server_ip – address of your server;

  • server_query_port – query port of your server for receiving data via UDP protocol. It can be different from the port of your server.

If you have one server, the structure of the array will look as follows:

"servers": [
    {
      "bot_token": "token",
      "server_ip": "ipv4",
      "server_query_port": 20685
    }
],

Requirements:

  • Python3;
  • disnake library;
  • python-a2s library.

pip install disnake

pip install python-a2s

About

Bot for displaying the online status of your SCP: EVENT CLASSIFIED servers.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages