[ModLog] Fix get_all_casetypes() (#2807)

Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
This commit is contained in:
Toby Harradine 2019-06-26 20:39:22 +10:00 committed by GitHub
parent f91d8610ae
commit 49819a2eeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -705,7 +705,7 @@ async def get_all_casetypes(guild: discord.Guild = None) -> List[CaseType]:
"""
return [
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()
]