bugfix
This commit is contained in:
parent
eca3f6f4fa
commit
0042a54f95
@ -72,7 +72,7 @@ class GuildWrapper {
|
||||
startedIn = await this.resolveChannel(startedIn);
|
||||
const pollChannel = await this.resolveChannel(channel);
|
||||
if (pollChannel) {
|
||||
const msg = await pollChannel.messages.fetch(message);
|
||||
const msg = await pollChannel.messages.fetch(message).catch(() => null);
|
||||
if (msg) {
|
||||
const { reactions } = msg;
|
||||
const reactionEmojis = questions.length ? PollReactions.Multi : PollReactions.Single;
|
||||
|
Loading…
Reference in New Issue
Block a user