This commit is contained in:
Erik 2022-07-28 10:58:27 +03:00
parent eca3f6f4fa
commit 0042a54f95
Signed by untrusted user: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -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;