diff --git a/main-bot.py b/main-bot.py index 29c18f5..fb84c0a 100644 --- a/main-bot.py +++ b/main-bot.py @@ -66,7 +66,7 @@ async def say_message(userid:int, guildid:int, shortname:str, message:str,channe print("ok2") if discord.utils.get(await channel.webhooks(),name=short_name) is None: print("ok3"); - webhook = await channel.create_webhook(name=short_name,avatar=perso_image) + webhook = await channel.create_webhook(name=short_name) print("ok4") else: print("ok5")