This bot's primary function is to query servers that are specified, obtain information about them, and update a Discord embed accordingly.
-
Create a Discord bot account. You can find more information on how to create a bot account here
-
Download the program. You can do this by either downloading it as a zip and unzipping it, or running
git clone https://github.com/zapdos26/Steam-Discord-Query-Bot.git -
Run
pip install -r requirements.txt -
Open up
configs/main.json.exampleand fill in the necessary information. Save this file asmain.json. -
Run the
discord_bot.py.- On Windows:
py discord_bot.py - On Mac/Unix:
python discord_bot.py
- On Windows:
Congrats! You have set up the bot.
- Verify you have the
Manage Channel(s)permission for where you want the Discord embed to be. - Run the following !addserver [appid]
- Ex:
!addserver 127.0.0.1 1234 346110would create an embed for the server with IP 127.0.0.1 and Query Port 1234 to the server list. The app id is necessary for the game's icon to show up.
- Ex:
Steam-Discord-Query-Bot is provided under the GNU GPLv3 License.
For any question, comments, or concerns, create an issue or open a pull request.