Vexor World - Multi Players Counter is a Discord bot written in Python using the Discord.py library. It monitors game servers and updates its Discord status based on the number of players online using data fetched from the BattleMetrics API. This bot is designed to run multiple instances, each monitoring a different server.
-
Clone this repository to your local machine:
git clone https://github.com/yourusername/vexor-world-multibot.git
-
Install the required dependencies using pip:
pip install -r requirements.txt
-
Update the
BOT_TOKENSandSERVER_IDSvariables instatus.pywith your bot tokens and server IDs.
-
Go to the Discord Developer Portal.
-
Click on New Application and give your application a name.
-
Navigate to the Bot tab on the left sidebar.
-
Click on Add Bot and confirm.
-
Copy the bot token by clicking on Copy under the bot username.
-
Update the
BOT_TOKENSvariable instatus.pywith the copied token. -
Navigate to the OAuth2 tab on the left sidebar.
-
Under OAuth2 URL Generator, select the bot scope.
-
Select the required permissions for your bot (e.g., Read Messages, Send Messages, etc.).
-
Copy the generated URL and paste it into your browser. Follow the instructions to add the bot to your Discord server.
-
Ensure that you have Python installed on your system (version 3.7 or higher recommended).
-
Navigate to the directory where you cloned the repository.
-
Run the bot by executing the following command:
python status.py
-
The bot will start running and update its status based on the number of players online in the specified game servers.
- Discord Server: Join our Discord Server
- Discord Tag: sic0z
If you'd like to contribute to this project, you can:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them to your branch.
- Push your changes to your fork.
- Submit a pull request to the main repository.
This project is licensed under the MIT License - see the LICENSE file for details.
