The Omega Strikers Bot is a Discord bot designed to provide information and builds for the game Omega Strikers. By using the command /striker {striker_name}
, users can retrieve build details for a specific striker.
- Retrieve build information for Omega Strikers.
- Supports multiple strikers.
- Provides build details for both forward and goalie roles.
- Sends build information and associated images directly to the user's DM.
- Python 3.7 or higher
- discord.py library
- aiohttp library
- Clone the repository to your local machine:
git clone https://github.com/your-username/omega-strikers-bot.git
- Navigate to the project directory:
cd omega-strikers-bot
- Create a virtual environment (optional but recommended):
python3 -m venv .venv
- Activate the virtual environment:
- Windows:
.venv\Scripts\activate
- Unix / Linux:
source .venv/bin/activate
- Install the required dependencies:
pip install -r requirements.txt
- Set up your Discord bot token:
-
Create a new application and bot on the Discord Developer Portal.
-
Copy the bot token.
-
Create a file named config.py in the project root directory.
-
Add the following line to config.py, replacing
<YOUR_TOKEN>
with your bot token:
TOKEN = "<YOUR_TOKEN>"
- (optional) If you want to limit your usage into a channel, also add another line inside of config.py, replacing
<channel_id>
with the desired channel id from discord.
channel_id = "<channel_id>"
Make sure you comment out the following if you'd like the bot to listen in on the whole server instead of just one channel.
@bot.event
async def on_message(message):
if message.channel.id == channel_id:
await bot.process_commands(message)
- Run the bot:
python bot.py
-
Invite the bot to your Discord server using the invite link generated on the Discord Developer Portal.
-
In your Discord server, use the command
/striker {striker_name}
in any channel where the bot is present.-
Example:
/striker kai
-
Replace {striker_name} with the name of the desired striker.
-
-
The bot will respond with the build details for the specified striker, including associated images for the forward and goalie roles.
-
The bot will send the build information and images directly to your DM.