a
This commit is contained in:
parent
d28ca32d1b
commit
5a4b2bbd56
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ async def say_message(userid:int, guildid:int, shortname:str, message:str,channe
|
||||||
# print(short_name,full_name,perso_image)
|
# print(short_name,full_name,perso_image)
|
||||||
webhook = None
|
webhook = None
|
||||||
# print("ok2")
|
# print("ok2")
|
||||||
if type(channel) == type(discord.DMChannel):
|
if channel is discord.DMChannel:
|
||||||
await channel.send(f"**{full_name}({short_name})**: {message}")
|
await channel.send(f"**{full_name}({short_name})**: {message}")
|
||||||
return
|
return
|
||||||
if discord.utils.get(await channel.webhooks(),name=short_name) is None:
|
if discord.utils.get(await channel.webhooks(),name=short_name) is None:
|
||||||
|
|
Loading…
Reference in a new issue