WIP: Refactor Aurora (3.0.0) #29
1 changed files with 3 additions and 1 deletions
|
@ -231,7 +231,9 @@ class Moderation(AuroraGuildModel):
|
|||
if results:
|
||||
cases = []
|
||||
for result in results:
|
||||
cases.append(cls.from_result(bot, result, guild_id))
|
||||
case = cls.from_result(bot, result, guild_id)
|
||||
if case.moderation_id != 0:
|
||||
cases.append(case)
|
||||
return cases
|
||||
|
||||
return []
|
||||
|
|
Loading…
Reference in a new issue