WIP: Moderation type registry #26
No reviewers
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.
Dependencies
No dependencies set.
Reference: cswimr/SeaCogs#26
Loading…
Reference in a new issue
No description provided.
Delete branch "aurora-3rd-party"
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?
This closes #25.
the Mozilla Public License Version 2.0.
Edit: in the time since i've opened this pr i've managed to do everything except make a moderation type registry
/edit
to the new model system/history
command/case
Moderation.from_sql_all()
/history
to use the new Moderation sql queriesModeration.execute()
classmethod to accept a cursor, to prevent opening a new database connection on every call 460d5a31fcget_next_case_number()
into theModeration
class, along with removingfrom_sql
andget_all_cases
. also added some other classmethods to replace those. 9b0f977016aurora.utilities.utils.get_bool_emoji
to usematch/case
instead ofif/else
Pull request closed