This is a Discord bot that allows users to authorize their Steam account and display their CSGO Pick'Em Challenge predictions in Discord.
This bot is written in Python and uses the following libraries:
To use this bot, follow these steps:
- Clone this repository to your local machine.
- Install the required dependencies by running
pip install -r requirements.txt
. - Create a new Discord application and add a bot to it.
- Copy the bot token and add it to an environment variable called
discordToken
. - Create a Redis database and add its URL to an environment variable called
REDISCLOUD_URL
. - Set the
steam_api_key
environment variable to your Steam API key. - Set the
event_id
environment variable to the ID of the CSGO Major event you want to display (e.g. "12345" for the 2023 Paris Major). - Set the
discordGuildID
environment variable to the ID of the Discord server where you want to use the bot. - Run the bot by running
python main.py
.
The bot responds to two commands:
/authorize
: This command prompts the user to enter their Steam profile URL and Pick'Em Challenge authentication code. The bot then saves the user's Steam ID and auth code to the Redis database./showpickem
: This command displays the user's current Pick'Em Challenge predictions.
Note that users must run the /authorize
command before they can use the /showpickem
command.
-
MultiStage Support (Challenger, Legends, Champions)
-
Track Pickem Coin Points