mirror of
https://github.com/GaMeNu/HFCNotificator.git
synced 2024-11-16 15:24:51 +02:00
v2.1.1
Permission error... fix...?
This commit is contained in:
parent
a1997266c5
commit
16132bfc07
@ -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}')
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user