A feature-rich Discord bot designed for a single server, but adaptable for multiple servers with some configuration changes. This bot includes economy, store, raffle, gambling, and more.
git clone https://github.com/ImmmCanadian/HalloweenDiscordBot.git
cd HalloweenDiscordBotIt is recommended to use a virtual environment:
python -m venv venv
venv\Scripts\activate # On Windows
source venv/bin/activate # On Mac/Linuxpip install -r requirements.txt- Go to the Discord Developer Portal
- Create a new application and bot
- Copy your bot token
- Create a file named
secret.envin the project root:TOKEN=your-bot-token-here
python main.py- This bot was created for a single Discord server. Role IDs and some logic are hardcoded for one server.
- The database is configured for a single server. To use in multiple servers, you must:
- Update hardcoded role IDs in the cogs
- Refactor database logic for multi-server support by intergrating guild id into users database entries
- Economy system (candy, bank, rob, gamble, store)
- Raffle system
- Store with pagination
- Gambling games (roulette, slots, etc.)
- Profile image generation (PIL)
- Logging to file
- Custom commands and cooldowns
- Custom profile uploads
- Slot machine game
These features exist in the code but are commented out. You may enable them if you wish to use them.
- Python 3.10+
- discord.py
- asqlite
- Pillow (PIL)
- aiohttp
- python-dotenv
All required packages are listed in requirements.txt.
- For multi-server use, you must update hardcoded values and database logic.
- Logging is enabled by default and writes to the
logs/directory. - Some features are disabled by default but can be re-enabled in the code.
MIT