a
This commit is contained in:
parent
e476b5bd4c
commit
74dc8729bf
1 changed files with 2 additions and 2 deletions
|
@ -72,10 +72,10 @@ async def say_message(userid:int, guildid:int, shortname:str, message:str,channe
|
|||
# print("ok4")
|
||||
else:
|
||||
# print("ok5")
|
||||
webhook = discord.utils.get(await channel.webhooks(),name=short_name,avatar_url=perso_image)
|
||||
webhook = discord.utils.get(await channel.webhooks(),name=short_name)
|
||||
# print("ok6")
|
||||
# print("ok7")
|
||||
await webhook.send(message,username=full_name)
|
||||
await webhook.send(message,username=full_name,avatar_url=perso_image)
|
||||
# print("ok8")
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in a new issue