j
This commit is contained in:
parent
05386d51e9
commit
ed3a00c46e
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,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")
|
||||||
print(channel.guild)
|
# print(channel.guild)
|
||||||
if interaction_res is not None and (channel.guild is None or bot.user.id not in [m.id for m in channel.guild.members] or not channel.permissions_for(channel.guild.me).manage_webhooks):
|
if interaction_res is not None and (channel.guild is None or bot.user.id not in [m.id for m in channel.guild.members] or not channel.permissions_for(channel.guild.me).manage_webhooks):
|
||||||
await interaction_res.send_message(f"**{full_name}({short_name})**: {message}")
|
await interaction_res.send_message(f"**{full_name}({short_name})**: {message}")
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue