Custom Moderation Handlers #31
Labels
No labels
bug
cog
cog
Aurora
cog
Backup
cog
Bible
cog
EmojiInfo
cog
Nerdify
cog
Pterodactyl
cog
SeaUtils
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#25 Add a moderation type registry
cswimr/SeaCogs
Reference: cswimr/SeaCogs#31
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What cog is your feature request for?
Aurora
Is your feature request related to a problem? Please describe.
Currently, there's no good way to hook into all of Aurora's functionality to add your own moderation commands and whatnot.
Describe the solution you'd like
I aim to fix this problem by having the following structure:
ModerationType
(Class)handler()
(Method)expiry_handler()
(Method, optional)In addition, this means that all handling of moderations will be delegated to a
moderate()
method somewhere, need to decide where to put that before continuing - maybe in theModeration
object?I'll also need some way to retrieve a list of registered moderation types, and a public API to register said moderation types.
Describe alternatives you've considered
No response
Screenshots
No response
Additional context
No response
[Aurora] Custom Moderation Handlersto Custom Moderation Handlers