Skip to content

Commit 5ecd5ee

Browse files
committed
🐛 Fix def embeds should not be async in help
1 parent 408a9f9 commit 5ecd5ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extensions/help/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def __init__(self, bot: custom.Bot, ui_translations: dict[str, RawTranslation],
168168
self.locales = locales
169169

170170
@cached_property
171-
async def embeds(self) -> dict[str, dict[str, list[discord.Embed]]]:
171+
def embeds(self) -> dict[str, dict[str, list[discord.Embed]]]:
172172
embeds: defaultdict[str, dict[str, list[discord.Embed]]] = defaultdict(dict)
173173
for locale in self.locales:
174174
t = help_translation.get_for_locale(locale)

0 commit comments

Comments
 (0)