From 16132bfc07d2ca81e6a4c59e0125c393b4d892b5 Mon Sep 17 00:00:00 2001 From: GaMeNu <98153342+GaMeNu@users.noreply.github.com> Date: Thu, 12 Oct 2023 12:10:36 +0300 Subject: [PATCH] v2.1.1 Permission error... fix...? --- cog_notificator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cog_notificator.py b/cog_notificator.py index d8442d6..c1f018c 100644 --- a/cog_notificator.py +++ b/cog_notificator.py @@ -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}')