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