misc.poll: fix typo

This commit is contained in:
Cynthia Foxwell 2022-04-01 18:14:11 -06:00
parent ee3fa2dccd
commit e4bc6d2136

View file

@ -225,7 +225,7 @@ poll.callback = async function (msg, line, topic, ...options) {
if (arrOptions.length < 2) return "A minimum of two options are required."; if (arrOptions.length < 2) return "A minimum of two options are required.";
const reactions = []; const reactions = [];
let displayString = `**${msg.author.username}#${msg.aughtor.discriminator}** has started a poll:\n**__${topic}__**\n`; let displayString = `**${msg.author.username}#${msg.author.discriminator}** has started a poll:\n**__${topic}__**\n`;
for (let i = 0; i < arrOptions.length; i++) { for (let i = 0; i < arrOptions.length; i++) {
displayString += displayString +=
(i === 9 ? "\ud83d\udd1f" : `${i + 1}\u20e3`) + (i === 9 ? "\ud83d\udd1f" : `${i + 1}\u20e3`) +