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
30bc6eab2a
commit
a1997266c5
@ -215,8 +215,9 @@ class Notificator(commands.Cog):
|
|||||||
continue
|
continue
|
||||||
try:
|
try:
|
||||||
await dc_ch.send(embeds=embed_list, view=self.hfc_button_view())
|
await dc_ch.send(embeds=embed_list, view=self.hfc_button_view())
|
||||||
except discord.errors.Forbidden:
|
except BaseException as e:
|
||||||
self.log.warning(f'Failed to send alert in channel {channel}: No permission')
|
self.log.warning(f'Failed to send alert in channel {channel}:\n'
|
||||||
|
f'{e}')
|
||||||
|
|
||||||
|
|
||||||
@app_commands.command(name='register',
|
@app_commands.command(name='register',
|
||||||
|
Loading…
Reference in New Issue
Block a user