A simple Discord bot for handling Music Bots' spam, built using discord.py, and deployed to Heroku.
- All music related messages are redirected to the server's dedicated music channel.
- All the servers' music channels & prefixes are saved in an online
Redisdatabase, which the bot communicates with.
On Nov 28th 22, Heroku discontinued all of their free tier services. As a result, I'm forced to take this bot offline until a good free service comes along or until Raspberry Pi's are back in stock.
-
Use My Deployed Instance: -
Or Deploy Your Own Instance:
- Self Hosted:
- Add a file named
tokento the utils folder with your bot user token - Add a file named
db_urlto the utils folder with aredis://...redis DB URL - Run
elfbot.py - Invite the bot to a server you manage
- Add a file named
- Using
Heroku: (No longer free)- Fork this repo
- Create a new
herokuapp, link it to your fork and enable automatic deploys - Under the app's settings add a config var
DISCORD_BOT_TOKENand give it your bot user token as a value - Under the app's resources tab search for and install the
Heroku Redisadd-on - Under the app's resources tab enable the worker
- Invite the bot to a server you manage
- Self Hosted:
-
Go into the designated music spam text channel and enter the command
?setmusic -
Enjoy cleaner text channels without all the spam from music bots related messages :)