mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[ModLog] Fix get_all_casetypes() (#2807)
Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
This commit is contained in:
parent
f91d8610ae
commit
49819a2eeb
@ -705,7 +705,7 @@ async def get_all_casetypes(guild: discord.Guild = None) -> List[CaseType]:
|
|||||||
"""
|
"""
|
||||||
return [
|
return [
|
||||||
CaseType.from_json(name, data, guild=guild)
|
CaseType.from_json(name, data, guild=guild)
|
||||||
for name, data in await _conf.custom(_CASETYPES).all()
|
for name, data in (await _conf.custom(_CASETYPES).all()).items()
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user