Telegram bot to randomize two or more football teams.
- TOKEN: Telegram bot token. For this token, create a bot using @BotFather on Telegram.
- ALLOWED_IDS: List of user/chat ids that are allowed to use this bot. This list MUST be separated by a comma. To find your user ID, use @userinfobot on Telegram.
- TEAM_PLAYERS: List of player names to generate the teams. This list MUST be separated by a comma.
- GENERATE_COMMAND: Command keyword for generate command.
- TIMEZONE: Time zone string. You can find here all of the time zones.
- LANGUAGE: Full language code. e.g. en-US.
- IS_PRODUCTION: Flag to know if the bot is running in a production environment. Needed for logs level.
- DEFAULT_NUMBER_OF_TEAMS: Number of teams that the bot should generate if none is passed by the user. Default is 2.
- /[GENERATE_COMMAND] [number of teams] [player names to ignore separated by space].
npm install
npm run build
npm run dev
npm run start
docker-compose up --build -d
👤 Tiago Sá
- Github: @tiagossa1
Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.
Give a ⭐️ if this project helped you!
Copyright © 2023 Tiago Sá.
This project is ISC licensed.
This README was generated with ❤️ by readme-md-generator