Open source discord channel cleaning bot.
Mr. Mop was used on over 10,000 Discord servers daily and had mopped up nearly 40,000,000 messages. Now he's open for everyone!
There is no longer an official hosted Mr. Mop bot.
- A Registered Discord App (Or 2 if you want one for development)
- Python >= 3.3
- Some sort of machine to run it on. VPS/RPi/Old Laptop etc...
Python Library Requirements
- Discord.py Rewrite (Install the zip via
- asyncio (
pip3 install asyncio)
- requests (
pip3 install requests)
- Change the Discord API tokens (replace the ****) at the bottom of the
if devMode: bot.run('********') # DEVELOPMENT TOKEN ONLY! else: # Run the bot using token from Discord developer app page bot.run('********') # PRODUCTION TOKEN ONLY!
Reporting Bot Stats to API Sites (Optional)
I won't explain how to do it as you'll have to visit the various sites but they usually require you to join their Discord servers and have a decent bot uptime so if you're just running it on an old laptop at home this probably isn't for you but for those who want it, there is a method included.
- Find the line
async def updateBotListAPI():and uncomment the relevant blocks and fill in the API keys or add in ones as needed.
- Uncomment the following from the bottom of the file:
#if not devMode: #bot.loop.create_task(updateBotListAPI())
- Happy days!
Reporting Problems & Issues
Mr.Mop is no longer going to be maintained by myself but I will accept community additions and pull requests if needed. Please do not contact me on Discord via DM regarding Mr. Mop. It will likely be ignored.
Having said that, the Mr. Mop Support Server will remain online for discussion of this project at https://discord.gg/GqhxktM