https://github.com/pyristix/would-you-rather-battle-bot
A continuously learning Discord bot that uses a feedforward neural network (a multilayer perceptron) to predict your decisions based on personalized user data.
https://github.com/pyristix/would-you-rather-battle-bot
bot discord machine-learning neural-network python
Last synced: about 1 month ago
JSON representation
A continuously learning Discord bot that uses a feedforward neural network (a multilayer perceptron) to predict your decisions based on personalized user data.
- Host: GitHub
- URL: https://github.com/pyristix/would-you-rather-battle-bot
- Owner: Pyristix
- License: mit
- Created: 2021-01-17T21:58:58.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-02-01T22:30:51.000Z (over 1 year ago)
- Last Synced: 2025-04-13T22:16:25.702Z (about 1 month ago)
- Topics: bot, discord, machine-learning, neural-network, python
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Would You Rather Battle Bot
A Discord bot that uses a feedforward neural network (a multilayer perceptron) to predict what you will choose given two options regarding who you would rather battle.
## Commands
- $bb$start
- Starts up a new battle if one is not already in progress. If one is already in progress, this command brings up the current battle details. It also gives a prediction about what you will choose based on past data.
- $bb$select \[Decision\]
- Used for selecting one of the options by replacing \[Decision\] with the option you choose, e.g. $bb$select 2 horses
- $bb$reset
- Clears previous selection data for the user who calls the command## Required installations
- Python 3
- pandas
- scikit-learn
- discord.pyThe dependencies below Python 3 can be installed using the pip command that comes with Python 3.
### Installing the bot
```bash
# Clone the repository
git clone https://github.com/Pyristix/would-you-rather-battle-bot.git
```### Configuring the bot
After cloning the project and installing all dependencies, you need to add your Discord API bot token to the bottom of the battle_bot.py file in the indicated area.
### Starting the bot
```bash
python3 battle_bot.py
```