Skip to content

TheWylot/IRMCTracker

 
 

Repository files navigation

IRMCTracker

A discord bot for tracking Iranian Minecraft servers and showing the statistics of them

Installation

Installation needs a valid installation of Python > 3.6

Use the package manager pip to install requirments.txt

pip install -r requirments.txt

Before running the bot

Copy storage/data/.env.sample to storage/data/.env and update tokens/prefixes etc as desired

After running the bot

  1. Add servers to tracker database (No need to restart after that, bot will fetch the newly added servers):
    • Directly using database management softwares
    • Through commands (~/cog/admin.py)

Usage

# Run the discord bot
python main.py run

# Fetching all servers and updating them in database
python main.py db:update

# Running tests/test_basic.py for testing purposes
python main.py test

Build and run the container

Install Docker, e.g. Download Docker.

Go ahead and run commands below to build and run containers:

docker-compose up -d --build

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

GNU GPLv3

About

IRMCTracker Discord Bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 99.3%
  • Other 0.7%