This commit is contained in:
GZod01 2024-12-17 11:22:56 +01:00
parent 05386d51e9
commit ed3a00c46e

View file

@ -84,7 +84,7 @@ async def say_message(userid:int, guildid:int, shortname:str, message:str,channe
# print(short_name,full_name,perso_image)
webhook = None
# 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):
await interaction_res.send_message(f"**{full_name}({short_name})**: {message}")
return