CL40 World Stream Bot
Setup
-
Create
.envin the project root with the bot token:DISCORD_TOKEN=your_token_here
-
(Optional) Set
BOT_SETTINGS_FILEto change where runtime settings are stored.
Install and run
python3 -m pip install -r requirements.txt
python3 bot.pyAdmin commands
!golive- send official live embed (admin only)!announce #channel- send live embed to a channel (admin only)!announce_album Title | https://link | note- announce album release (admin only)!exempt @user [days]- temporary exempt user from spam/cooldown (default 3 days)!unexempt @user- remove temporary exemption!setchannel #channel- allow commands in a specific channel!shutdown- stop the bot
Notes
- The bot persists
allowed_channelsandexempt_runtimetosettings.jsonby default. - Keep your
.envsecret. Add it to.gitignoreto avoid leaking the token.