From 46fd2b65e45d4a57d10f967f054440d48d0541d1 Mon Sep 17 00:00:00 2001 From: Conatum Date: Tue, 28 Dec 2021 00:27:59 +0200 Subject: [PATCH] fix (rooms): Ignore vanishing lobby channel. --- bot/modules/accountability/TimeSlot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/modules/accountability/TimeSlot.py b/bot/modules/accountability/TimeSlot.py index 81cbe38d..03ade394 100644 --- a/bot/modules/accountability/TimeSlot.py +++ b/bot/modules/accountability/TimeSlot.py @@ -231,7 +231,7 @@ class TimeSlot: self.channel = self.guild.get_channel(self.data.channelid) # Load message - if self.data.messageid: + if self.data.messageid and self.lobby: self.message = discord.PartialMessage( channel=self.lobby, id=self.data.messageid