You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Brandon Silva db0e283177 fix adding thread to case if no reason is provided 3 days ago
.github/workflows change checkout to v2 3 years ago
Leveler black formatting 2 years ago
activitylog add progress bar to correlation commands 4 weeks ago
birthday anniversary added, fixed discord timestamps, added watchlist cog 5 months ago
channelcontrol fix issues with categories and lag 2 weeks ago
chatbot black moment 6 months ago
confession always black 1 year ago
costmanager black formatting 2 years ago
disable black formatting 2 years ago
economytrickle black formatting 2 years ago
emoji small fixes to some cogs. added translation cog from Trusty with changes for a friend 9 months ago
follower fix blocking for follower 2 years ago
imagemagic small fixes to some cogs. added translation cog from Trusty with changes for a friend 9 months ago
isolate add thread feature for punished users 6 months ago
markov i lied 1 year ago
memeify black formatting 2 years ago
moreadmin added remove role action to purge command 4 months ago
namechange fix small bug when people change names while bot is down 1 month ago
nitroemoji black formatting 2 years ago
personalroles adding autoroles more sensible 9 months ago
poker add new graphing and analyses 1 month ago
pony fix OR operator bypassing filters in pony search 11 months ago
punish fix adding thread to case if no reason is provided 3 days ago
reactpoll small fixes to some cogs. added translation cog from Trusty with changes for a friend 9 months ago
rolemanagement always black 1 year ago
roleplay black formatting 2 years ago
roletracker black formatting 2 years ago
rules always black 1 year ago
scheduler always black 1 year ago
scriptgen small fixes to some cogs. added translation cog from Trusty with changes for a friend 9 months ago
sfx black formatting 2 years ago
shootout black formatting 2 years ago
smartreact black formatting 2 years ago
subscriber black moment 11 months ago
suggestion Bunch of new features and bug fixes 1 year ago
threadmanager fixing some stuff 1 month ago
threadrotate fix slight oversight on manual thread rotation 3 weeks ago
timehelper minor bugfixes 10 months ago
translate black moment 6 months ago
trickortreat black formatting 2 years ago
valentinecards add valentines cog to send cards to members. also some touchups on other cogs 2 years ago
warnings_custom add in dming context to warned users 2 months ago
watchlist anniversary added, fixed discord timestamps, added watchlist cog 5 months ago
welcome anniversary added, fixed discord timestamps, added watchlist cog 5 months ago
.gitignore Initial commit 4 years ago
LICENSE Initial commit 4 years ago add timehelper to readme 10 months ago
info.json added ported v3 pony cog and info jsons 3 years ago

Brandons209's Cogs

Cogs for discord's Red-Bot


Thank you for taking a look at my cogs, most of these are rewrites of other cogs, with a few of my own.


Full V2 port with most of the cog rewritten from calebj. This is an all in one logger for all sorts of discord messages and events.

  • Track messages, attachments (url or download), voice channel states, audit log entries, DMs, and also who deletes messages and performs other audit log actions.
  • Customizable log file rotation.
  • Global/per guild/per channel logging preferences
  • Pull logs for a channel or audit logs, with customizeable time ranges either in specifying exact dates or an interval from the current time.
  • Track user statistics (how many messages sent, how many bot commands, how long in voice chats) per guild.
  • Track username changes globally.
  • Upgraded userinfo command that includes user stats and number of bans, mutes, and kicks.


Allow users to set their birthday and have it announced in a channel. Also gives the user a birthday role and sends them a customizeable DM message. Checks for birthdays at UTC midnight everyday. Bugs fixed!


Modifed from @Jinatku. Adds a tracker room that will send confessions to with names attached for moderation purposes, in case someone may be abusing the room.

Cost Manager

Allows dynamically setting costs for any commands registered to Red. Supports setting costs on a hierarchy that follows user > role > guild. Also can set guild wide roles that can use commands for free, and overriding these for certain commands. It also sends receipts to users and edits that message as they run commands so they can track their spending.

  • DM receipts will only notify the user once if it fails to send the message.
  • Follows hierarchy, checks user cost first, then role cost, then guild wide cost and guild wide free roles.
  • Planned: Global cost setting for bots using a global economy system.


Disable all bot commands except for admins in a guild. Customizable error message.

Economy Trickle

Currently rewriting parts from Sinbad.

Added a decay rate where xp and level decays over time. Also added a failure rate where a trickle has a chance to fail. Cleaned up some of the code as well.


Made for a friend, pretty messy as it was my first v3 cog. Send custom events and log time since that event. Unsupported and won't be updated for much else.


Twitter style following system that is guild-agnostic. Allows users to follow someone else in a specific channel. They will get notified when that user speaks or joins the voice chat. Users can follow someone in multiple channels. Features

  • Users can opt out, allowing no one to follow them
  • Users can block other people from following them
  • To follow someone in a channel they must be able to view the channel (has read_messages or view_channel permission)
  • DM notification includes message link to jump to message.
  • Guild Agnostic: a user can follow a user across different guilds
  • Can't follow a user in every channel automatically (would have to add every channel from every guild), this is to avoid issues arised from users stalking someone else
  • Works from DMs as well as in guilds, use user and channel IDs for easiest use.

Image Magic

Image transformation commands to create funny or interesting photos. Features

  • Barrel effect
  • Implode effect
  • Zoom
  • Black and white
  • Sketch transformation


Carbon copy of punish cog, except this one will remove all roles from a user and by default sets permissions so they cannot see or talk in any channel except the channel set for isolation.


Based off of Malarne's cog. Has some bug fixes and reduces the starting EXP by 50. Also cleaned up the code a bit, and have features planned.


Markov chains! This cog builds markov chain models per channel and optionally per user, allowing for funny and interesting text generation!


More admin commands that provide various functionality.

  • Purge(kick) inactive users with a specific role. Can purge by last message or account age. DM's user with a notice of removal and an invite link to rejoin the guild. Logs purges to modlog.(removed logging for now)
  • Send out mass DM to all users who can get purged based on the specified settings.
  • Audit your purge settings, which grabs some users who can be purged and displays your settings to make sure its working properly.
  • Set channel to display online/total users for guild.
  • Log "suspicious" users who join. Suspicious users are new accounts, threshold to determine an account as new can be set.
  • Give and remove roles based on user's currents roles. This allows setting a role to be giveable by users who have a specific set role.
  • Set a role to be pingable for a specific amount of time.
  • Hidden say and selfdm commands for setting helpful aliases with these commands.
  • Send, send attachment, edit, and get commands for bot's messages. Useful for sending rules by the bot so that anyone can edit those.
  • List all users with a role/roles quickly and easily.
  • Customized DM message for banning users.
  • Mods/Admins can add notes to users for reference


Turn text into memes. Features

  • Bify: make every word start with B emoji and every B into one.
  • Frenchify: add a French ascent to text

Nitro Emoji

Allows nitro boosters to add one emoji to your server. Log's additions and removal of custom emojis to a channel. Can turn this off to stop more people from adding, but those who added can remove their emoji. New: allows setting roles that can add a customizeable amount of emojis to the server. If roles are removed/amount of emojis changed, the bot will automatically remove/update user's emojis.

Personal Roles

Modified from Fixator10, added functionality of automatically creating/deleting personal roles for users who are allowed to have one. Roles automatically created are placed in the hierarchy under an existing role set by the user. It also allows setting roles that allow users to automatically have their personal role created and used. Manual usage is still available as well.


  • Users can customize their role name and color through the bot.
  • Blacklist words that aren't allowed in role names.
  • Automatically create/manage personal roles.
  • Users can add and remove role icons if the guild has the feature


Search derpibooru for pony images. Ported from Alzarath.

  • Filter by tags.
  • Verbose mode.
  • Get random and latest image results.
  • Include Artist when posting images


Port from calebj punish cog. Functionality mostly retained. Allows adding a custom Punished role to a user to lock them out of all channels in your server except a designated one.

  • Set roles to remove when punishing to bypass per channel overrides on some roles.
  • Customize channel overrides for the punish role.
  • Creates modlog cases for punishments.
  • Log cases created/updated when manually adding or removing role without the command.


Modified from flapjax. Uses base of v2 version ported to v3, with the added functionality of watching reactions on polls to enforce one vote per user and no custom reactions adding. Also supports saving polls to disk in case bot shutdowns during poll and resumes them on boot.

Role Management

Modified from Sinbad.

  • Adds in subscription based roles which renew every customized interval.
  • Allows settings messages through DM to users who obtain a specific role (such as role info).
  • Renames srole to selfrole and removes Red's default selfrole.
  • Makes listing roles a bit prettier.
  • Allow setting roles that are automatically added to user when they obtain a certain role.
  • Allow setting roles to automatically add on guild join.
  • Enhance exclusive roles, allow setting custom role groups where the bot enforces only one role to be on a user at a time, even if it isn't a selfrole. The bot will automatically remove the old role if a new role from the same group is added. Also lists name of role group in list command to make it clearer.


Assorted roleplay commands. Uses ASCII art.

  • Improved hug, don't need to @ a user nor use quotes if their name has spaces.
  • Slap users, with customizeable slaps.
  • IQ test, with customizeable messages.
  • Army (for Champions of Equestria use only)
  • Boop.
  • Bap.
  • Improved Flip don't need to @ a user nor use quotes if their name has spaces.

Role Tracker

Allows moderators to add certain roles that are set by administrators. Added roles have modlog cases created/update on adding/removing the roles. Features:

  • Asks for attachment (like a screenshot) when adding roles for added information.
  • Tracks roles if they are manually added and creates/updates modlog cases appropriately.
  • Only add/remove roles set by admins.
  • Doesn't create manual cases if the bot adds the rule, this is so it doesn't conflict with the punish cog or other cogs that modify roles.


Allows easy access to guild and channel rules for a guild. Admins can set what rules they're for the entire guild, and per channel. Users can easily view these rules using a menu. Rules can be directly accessed by number as well, which allows quickly reminding a user of a rule in chats, instead of telling them to refer to a rules channel or pinned messages for channel rules.


Allows using any aitextgen gpt-2 model to generate text. Can also charge users per word generated. Mainly used for generating scripts for a TV-Show for fun, but you can use it with any model.


Sound effect cog that allows people to play sound effects in voice channels. Sound effects have a customizeable cost, volume, and name. Supports direct files and URLs.

Notice: this cog uses the Audio cog built into Red to play sounds. However, since the Audio cog doesn't provide an API to play sounds easily from other cogs, the cog requires injecting some code into the Audio cog that allows playing sounds without some of the restrictions and message embeds that are sent with the Audio cog play commands. Hopefully, this will be changed when a sane API is added to the Audio cog.

Also, since it does use the Audio cog, if users in different VC's queue sfx sounds while the bot is playing a sound, it'll play all sounds in whatever VC is it currently in. This is a limitation of the Audio cog which I am working on fixing.


A game cog that rewards players for fast typing. The first player to type a message wins a pot of currency. Features:

  • Configurable message to type to win.
  • Configurable randomized victory messages.
  • Configurable random time between when the lobby ends and the game starts.
  • Settable pot amount, even zero!
  • Configurable wait time after the first player has joined the game.
  • Shootouts in multiple channels!


Modifed from @saurichable. Adds a few features we needed. Added Features

  • Listing the final vote count when a suggestion is approved or denied
  • Added reasons for approved suggestions, since sometimes we accept a suggestion but we may modify it
  • Approved reasons are marked green, denied are marked red
  • Optionally create threads for each suggestion for easier discussion

Smart React

Auto react to messages based on keywords. Based off of FlapJack's cog. Minor bug fixes and planned features, like using regex to parse messages.

Thread Manager

A simple thread manager that allows guild staff to set certain roles to create a customable number of threads per channel. Manual archive by users is not supported right now.

Time Helper

Time helper makes it easy to format specific dates, times, and relative times into discord timestamps, or convert them into multiple other timezones. You can also set your own timezone so that you don't need to specify your timezone when using the cog!

Warnings Custom

Adds a few features that are needed for my server, modified from the built in warning cog. Added Features

  • Add context to warnings, if enabled. This allows adding some extra information after giving a warning. We had issues where warnings without context were hard to look back upon. Can send attachments too, included in modlog entry.
  • Shows dates for warnings for both users and mods, and also case number for mods when looking at a user's warnings.


Modified from tmerc, adding a nicely formatted role list as an option for messages. Feature submitted to tmerc.

  • Also adds integration with my activitylog cog, allowing posting of user stats in welcome messages. (Such as leaving and wanting to know how active a person was when they leave.)