From 49819a2eebd3b9f891dd2c1ca1e63d0818a08a74 Mon Sep 17 00:00:00 2001 From: Toby Harradine Date: Wed, 26 Jun 2019 20:39:22 +1000 Subject: [PATCH] [ModLog] Fix `get_all_casetypes()` (#2807) Signed-off-by: Toby Harradine --- redbot/core/modlog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redbot/core/modlog.py b/redbot/core/modlog.py index 7a6db696b..62dd1e03a 100644 --- a/redbot/core/modlog.py +++ b/redbot/core/modlog.py @@ -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() ]