This commit is contained in:
GZod01 2024-12-15 16:17:45 +01:00
parent 16f85f06d2
commit f9572bb210

View file

@ -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")