WIP: Refactor Aurora (3.0.0) #29
1 changed files with 2 additions and 0 deletions
|
@ -198,6 +198,8 @@ class Moderation(AuroraGuildModel):
|
|||
moderation_type = str.lower(result[2])
|
||||
if moderation_type in type_registry:
|
||||
moderation_type = type_registry[moderation_type]
|
||||
else:
|
||||
logger.error("Unknown moderation type in case %s: %s", result[0], result[2])
|
||||
|
||||
case = {
|
||||
"moderation_id": int(result[0]),
|
||||
|
|
Loading…
Reference in a new issue