Permission error... fix...?
This commit is contained in:
GaMeNu 2023-10-12 12:10:36 +03:00
parent a1997266c5
commit b9606b12bd

View File

@ -216,7 +216,7 @@ class Notificator(commands.Cog):
try:
await dc_ch.send(embeds=embed_list, view=self.hfc_button_view())
except BaseException as e:
self.log.warning(f'Failed to send alert in channel {channel}:\n'
self.log.warning(f'Failed to send alert in channel {await self.bot.get_channel(channel.id).name} ({channel.id}):\n'
f'{e}')