Single server moderation/fun bot
Join the server the bot is in »
Report Bug
·
Request Feature
Hi! My name is Guard, and this is my bot. I built it, because I wanted to learn python and the best (and fun) way that showed up to me was discord.py.
This bot is built by tutorial from Carberra (link at the end of README), but edited to function on my server. I'm trying to get away from Carberra's tutorials, so some of the features are different, but the base of the code is the same as Carberra. Really recommend checking him out if you want to start with discorrd.py or learn more about discord moderation bot coding.
So... there is a lot to talk about ngl. This project gotten pretty big and has some goooood features I'm proud of. So we shall start with:
Although this bot is designed to be moderation, there is something to talk about in the public section of the bot. Here is the list of the public commands with description:
Name|Aliases | Command description |
---|---|
hi|hello|sup | greetings |
fact (animal) | fact about dog, cat, panda, fox, bord or koala |
dice|roll (number of dices)d(highest number on the dice) | rolls dices of your choice |
say|echo (content) | repeat content of your message |
slap|hit (member) (reason) | slaps someone for some reason |
dm|direct message|send (member) (content) | sends a dm to someone |
serverinfo|si|guildinfo|gi | info about the server |
userinfo | ui (member) |
ping | pong |
botinfo | info about R3NAUT |
So as we said, this is a moderation bot, and moderation bots are for moderation. So this bot has something called admin commands. Here is the list of the commands:
Name|Aliases | Command description |
---|---|
addprofanity|addswears|addcurses (words) | add forbidden words. Permissions: Admin and higher |
delprofanity|delswears|delcurses (words) | delete forbidden words. Permissions: Admin and higher |
mute (member) (time in minutes(optional)) | deletes all roles from mentioned user and adds a mute role. If you typed time as well, bot will delete the roles and add the old once back. Permissions: Moderator and higher |
unmute (member) | deletes muted role and adds old roles back. Permissions: Moderator and higher |
clear | purge |
kick (member) (reason) | kick user you mentioned. Permission: Moderator and above |
ban (member) (reason) | bans member you mentioned. Permission: Staff and higher |
We are done with commands, but there is some other features that the bot can do. First of we can start with
This is a great feature that helps A-team to catch up and be alerted about what happened on the server. Here you have a image, so you can have idea how does it looks like:
If you want to see full code, go to lib/cogs/log.py
Yeah there is a auto-moderation feature in this bot. This feature is not completed, but the first basic things are public. This bot can detect if you'r spamming mentions, and mute you for 5 minutes if that's the case.
The bot is fully made in discord.py
The bot's database is made in SQL
The bot is hosted on my Raspberry Pi 3B+
Carberra - https://www.youtube.com/channel/UC13cYu7lec-oOcqQf5L-brg
Carberra moderation tutorial - https://www.youtube.com/watch?v=F1HbEOp-jdg&list=PLYeOw6sTSy6ZGyygcbta7GcpI8a5-Cooc&ab_channel=CarberraTutorials
README template - https://github.com/othneildrew/Best-README-Template
My discord server - https://discord.gg/3u8aMBzNBJ