Correctif

This commit is contained in:
Valentin Moguérou 2023-12-18 00:43:18 +01:00
parent c8eb921d8b
commit 745fe4dd1f
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ class Fact(MyCog):
try: try:
async with aiohttp.ClientSession() as session: 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( embed = Embed(
title=response.json.get("title", "Titre inconnu"), title=response.json.get("title", "Titre inconnu"),