A feature-rich Discord gambling bot with multiple casino games, originally created by ConnorSwis and enhanced with new features and improvements.
Features • Games • Installation • Configuration • Commands
![Blackjack Screenshot](https://raw.githubusercontent.com/ConnorSwis/casino-bot/main/pictures/blackjack.png)
![Slots Animation](https://github.com/ConnorSwis/casino-bot/raw/main/pictures/slots.gif)
- 🎮 Multiple casino games with interactive buttons
- 💾 Persistent SQLite3 database for user balances
- 🚀 Enhanced performance and reliability
- 🛡️ Improved error handling and spam protection
- 🎯 Discord.py 2.4.0 support
- ⚡ Fast response times and optimized database operations
- Blackjack
- Slots
- Coin Flip
- Dice Roll
- Roulette
- And more!
- Python 3.10.8 or higher
- Discord.py 2.4.0
- SQLite3
- Additional dependencies listed in
requirements.txt
-
Create a new bot application on the Discord Developer Portal
-
Install Python 3.10.8 or higher:
# Download from https://python.org python --version # Verify installation
-
Clone the repository:
git clone https://github.com/plawandos/Discord-Casino-Bot.git cd Discord-Casino-Bot
-
Install required dependencies:
pip install -r requirements.txt
-
Configure the bot:
- Copy
config.example.yml
toconfig.yml
- Add your bot token and customize settings
- Copy
-
Launch the bot:
cd discord python bot.py
-
Use
$help
in Discord to see available commands
- ✅ Added Roulette game
- ✅ Upgraded to Discord.py 2.4.0
- ✅ Replaced reactions with interactive buttons
- ✅ Enhanced anti-spam protection
- ✅ Improved database performance
- ✅ Added new commands (
$give @user
,$sellkidneys
) - ✅ Fixed database locking issues
- ✅ Implemented robust error handling
$help
- Display all available commands$balance
- Check your current balance$blackjack <amount>
- Play Blackjack$slots <amount>
- Play Slots$roulette <amount> <bet>
- Play Roulette$flip <amount> <choice>
- Flip a coin$roll <amount> <number>
- Roll dice$give @user <amount>
- Give money to another user$sellkidneys
- Get emergency funds (joke command)
Original project by ConnorSwis
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ for Discord gaming communities