Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/maybeanerd/MagiBot. MagiBot - the community building discord bot that adds joinsounds to your voice channels!
discord.gg/2Evcf4T
···186186 if (wentToNextUser) {
187187 const channel = await guild.channels.fetch(wentToNextUser.channelId);
188188 if (!channel) {
189189- // We should only get here if we cannot access the channel anymore
190190- // and therefore we should end the queue
191191- await endRunningQueue(interaction);
192192- return;
189189+ throw new Error(
190190+ `Failed to get channel of queue message. GuildId: ${guild.id}; ChannelId: ${wentToNextUser.channelId}`,
191191+ );
193192 }
194193195194 const topicMessage = await (channel as TextChannel).messages.fetch(
196195 wentToNextUser.messageId,
197196 );
198197 if (!topicMessage) {
199199- // We should only get here if we cannot find the original message anymore
200200- // and therefore we should end the queue
201201- await endRunningQueue(interaction);
202202- return;
198198+ throw new Error(
199199+ `Failed to get queue message. GuildId: ${guild.id}; ChannelId: ${wentToNextUser.channelId}; MessageId: ${wentToNextUser.messageId}`,
200200+ );
203201 }
204202205203 messageEdit(