The best gameserver status query bot for your discord server!
Explore the docs »
Add Bot
·
Report Bug
·
Request Feature
Table of Contents
This project was first idealized from my personal need in a bot that could query game servers, in special CSGO servers and all available solutions at the moment were either insufficient or couldn't offer all the features I wanted.
Here a few things Apollo can do:
- Up to 25 servers per discord server
- Autoupdate embends
- Suports legacy and slash commands
- Help menu
The idea is to keep simple while giving discord admins the possibility of adding their preferred game server (for now limited to valve protocols) and make easy for users to check server status (players count, tags, map, game, server name and more)
This project is in development state as well the API the bot consumes, if you intend to host this bot to query gameservers in your discord server feel free to contact me and ask for an api key, futher more i'll be creating a webpage to allow people to create their own account's
- NodeJS v16.14+
- MongoDB
- Yarn
npm install yarn -g
- Get a free API Key at Website under development contact me for a key
- Clone the repo
git clone git@github.com:henriquemod/apolloservers-discord-bot.git
- Install NPM packages
yarn
- Configure docker-compose.yml with desired credentials and then run
If you already have a mongodb server you can skip this step
docker-compose up -d
- Rename .env.example to .env and fill variables with your relevant data
If in production I strongly recommend using local environment variables instead putting in an. env file for security purposes
-
Build project
yarn build
-
Start the bot
yarn dev
Command | Description | Permition | Legacy | Slash |
---|---|---|---|---|
status | Show a menu to user select one to show its status | public | ✅ | ✅ |
servers | Show a status resume of all servers added | public | ✅ | ✅ |
setkey | Set an API Key | admin | 🚫 | ✅ |
setlocale | Set the locale to be used | admin | 🚫 | ✅ |
settimezone | Set the timezone to be used | admin | 🚫 | ✅ |
addschedule | Create embend with server status that are frequently refreshed | admin | ✅ | ✅ |
deleteschedule | Delete a schedule | admin | ✅ | ✅ |
addserver | Add a gameserver | admin | 🚫 | ✅ |
deleteserver | Delete a gameserver | admin | ✅ | ✅ |
showservers | Show servers with their IDs and settings | admin | ✅ | ✅ |
editdesc | Edit a server description | admin | ✅ | ✅ |
edithost | Edit a server host | admin | ✅ | ✅ |
editname | Edit a server name | admin | ✅ | ✅ |
editport | Edit a server port | admin | ✅ | ✅ |
edittype | Edit a server type | admin | ✅ | ✅ |
botpresence | Show how many servers this bot is added | bot owner | ✅ | ✅ |
botstatus | Change bot status | bot owner | 🚫 | ✅ |
For more in depth command usage, please refer to the Documentation
- Add Changelog
- Add back to top links
- Multi-language Support
- English
- Portuguese
- Spanish
- Test coverage all cases
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the GPL-3.0 License. See LICENSE
for more information.
Henrique Souza - LinkedIn
Project Link: https://github.com/henriquemod/apolloservers-discord-bot