From 3e0a68a9df4d913498faa9e32d6c4c4aab04f684 Mon Sep 17 00:00:00 2001 From: attilavs2 Date: Sun, 17 Mar 2024 21:18:15 +0100 Subject: [PATCH] fix help() --- ecoplus.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ecoplus.py b/ecoplus.py index 82a6f1b..1251559 100644 --- a/ecoplus.py +++ b/ecoplus.py @@ -50,7 +50,7 @@ async def roulette(message): else: await message.channel.send("Ouf ! Il n'y avait pas de cartouche dans la chambre...") -async def ecohelp(): +async def ecohelp(message): await message.channel.send("Eco+, un bot Eco plus pour faire des conneries\n"\ "?pinguncon : ping le con local\n"\ "?pingrand : ping un membre aléatoire du serveur\n" @@ -85,6 +85,6 @@ async def on_message(message): if content == "?roulette": await roulette(message) if content == "?help": - await ecohelp(message) + await ecohelp(message ) client.run(token)