# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Text fragments.
No description provided by the author
No description provided by the author
No description provided by the author
Modal options.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Settings (the names affect the column names in the DB).
Modal options.
Colors.
Chat commands.
Message commands.
User commands.
No description provided by the author
Slash command.
Moderation buttons.
https://discord.com/developers/docs/interactions/application-commands#create-global-application-command.
https://discord.com/developers/docs/interactions/application-commands#application-command-object.
https://discord.com/developers/docs/resources/channel#create-message.
String for evidence from a message.
No description provided by the author
URLs.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Modals.
Modals.
No description provided by the author
Slash command.
No description provided by the author
If images have this in front of their name, they're spoilered.
No description provided by the author
Errors.
String for evidence from a user.
Premade Option IDs (semi-reusable) TODO: actions that delete messages, ban users etc.
# Variables
Takes a boolean and returns a colorized button if true.
No description provided by the author
This object is used to register chat commands, so if it's not in here, it won't get registered properly.
Enabled takes a boolean and returns "enabled" or "disabled" as a string.
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Custom commands registered with a specific server ID is registered with the Discord API GuildConfigID is the server ID where the command is registered.
Servers are called Guilds in the Discord API.
A ModeratedUser represents a specific user/server combination that serves to record events and a "Reputation" which is only visible to people who are in the moderator's configurable role.
This is the representation of a moderation action.
Handlers ModeratorBot is the main type passed around throughout the code It has many functions for overall bot management.
ModeratorBotConfig is attached to ModeratorBot so config settings can be accessed easily.