fix (rooms): Ignore vanishing lobby channel.

This commit is contained in:
2021-12-28 00:27:59 +02:00
parent a31f451102
commit 46fd2b65e4

View File

@@ -231,7 +231,7 @@ class TimeSlot:
self.channel = self.guild.get_channel(self.data.channelid) self.channel = self.guild.get_channel(self.data.channelid)
# Load message # Load message
if self.data.messageid: if self.data.messageid and self.lobby:
self.message = discord.PartialMessage( self.message = discord.PartialMessage(
channel=self.lobby, channel=self.lobby,
id=self.data.messageid id=self.data.messageid