Skip to content

Source code of the "Mafia bot" used for the Mafia game in the Innopolis university

License

Notifications You must be signed in to change notification settings

Zener085/InnoMafiaBot

Repository files navigation

InnoMafiaBot

drawing

InnoMafiaBot is a Telegram bot designed for the Mafia game community at Innopolis University. This bot provides users with valuable statistics and information about their participation in the Mafia game. Whether you're a seasoned player or just starting out, InnoMafiaBot has you covered!


Features

  • User-Friendly Interface: Interact with the bot using simple commands to access various features.
  • Top Player Rankings: Get insights into the top-performing players of the season.
  • Personal Statistics: Receive detailed information about your own game performance.
  • Antispam System: Prevents spam and ensures a smooth user experience.

How to Use

  1. Join the Game: To utilize the bot's full functionality, join the Mafia game at Innopolis University at least once to get your unique player ID in the database.
  2. Start the Bot: Simply use the /start command to initialize the bot.
  3. Main Menu Options:
    • /info: Learn more about the bot.
    • /personal_info: View your personal game statistics.
    • /top: Explore the top players of the season.
    • Group URL: Access the main chat and channel of the Mafia club.

Prerequisites

Ensure you have the following set up:

  • Python environment
  • Telegram account

Installation

  1. Clone the repository:

    git clone https://github.com/Zener085/InnoMafiaBot.git
    cd InnoMafiaBot
  2. Install dependencies:

    pip install -r requirements.txt
  3. Set up a .env file with your configuration:

    TOKEN=your_telegram_bot_token
    apiKey=your_firebase_apiKey
    authDomain=your_firebase_authDomain
    # Add other Firebase configuration parameters
  4. Run the bot:

    python main.py

Contributors

Support and Issues

For support or to report issues, contact @n1ce_timothy. Feel free to contribute by opening pull requests!

Happy Mafia Gaming!

About

Source code of the "Mafia bot" used for the Mafia game in the Innopolis university

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published