A simple Discord bot built using discord.py that includes message logging, scheduled messages, and various commands.
t's main intention was to automate sending a message at every "angel number" time such as 4:44am or 5:55pm.
- Logs bot messages and DMs
- Sends scheduled messages based on angel numbers
- Basic bot commands (
!hello,!add,!timenow, etc.) - Slash command support
- Secure token management using
.env
- Python 3.10+
discord.pyinstalled
- Clone the repository:
git clone https://github.com/yourusername/yourbot.git cd yourbot - Install dependencies:
pip install -r requirements.txt
- Create a
.envfile and add your bot token and channel IDs:DISCORD_BOT_TOKEN=your_bot_token_here CHANNEL_ID_YO=888170772793786459 CHANNEL_ID_ANGEL=1124822502154174584
- Run the bot:
python bot.py
Use the following commands:
!hello- Greets you!add <num1> <num2> ...- Adds numbers!timenow- Shows the current time!send <channel_id> <message>- Sends a message to a channel!dm <user_id> <message>- Sends a DM
Feel free to fork and submit pull requests!
MIT License