diff --git a/cogs/cog_fact.py b/cogs/cog_fact.py index 492d3b0..efcb9bc 100644 --- a/cogs/cog_fact.py +++ b/cogs/cog_fact.py @@ -32,7 +32,7 @@ class Fact(MyCog): try: async with aiohttp.ClientSession() as session: - await response = session.get("https://fr.wikipedia.org/api/rest_v1/page/random/summary", headers=headers) + response = await session.get("https://fr.wikipedia.org/api/rest_v1/page/random/summary", headers=headers) embed = Embed( title=response.json.get("title", "Titre inconnu"),