o
This commit is contained in:
parent
16f85f06d2
commit
f9572bb210
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ async def say_message(userid:int, guildid:int, shortname:str, message:str,channe
|
||||||
print("ok2")
|
print("ok2")
|
||||||
if discord.utils.get(await channel.webhooks(),name=short_name) is None:
|
if discord.utils.get(await channel.webhooks(),name=short_name) is None:
|
||||||
print("ok3");
|
print("ok3");
|
||||||
webhook = await channel.create_webhook(name=short_name,avatar=perso_image)
|
webhook = await channel.create_webhook(name=short_name)
|
||||||
print("ok4")
|
print("ok4")
|
||||||
else:
|
else:
|
||||||
print("ok5")
|
print("ok5")
|
||||||
|
|
Loading…
Reference in a new issue