Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Latest commit

 

History

History
18 lines (11 loc) · 823 Bytes

File metadata and controls

18 lines (11 loc) · 823 Bytes

RCON-Bot

Do you host a source-based game server?

is having to open an entire SSH session just too much effort for you?

Try RCON-Bot!

this bot will allow you to input details for a source server, and details for a channel in discord, which will allow you to control your server from that discord channel! simply input details of a discord text channel that the bot has access to and details of a source server in .env, start the bot with python3 bot.py and pray to god the bot works!

it is known that the bot's connection to a server will break on a map change. since i'm too lazy to implement an actual solution to this issue i fixed it, it now auto-reconnects, saying "!connect" in the rcon channel should restart the connection to the server.

Prerequisites

  • python-dotenv
  • discord.py
  • python-valve