We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b66d18 commit f05d54bCopy full SHA for f05d54b
1 file changed
src/commands/extend.ts
@@ -163,8 +163,8 @@ export default class ExtendCommand implements MessageCommand {
163
attachments: [],
164
});
165
166
- for (const i in additionalPollOptions) {
167
- await msg.react(pollEmbedService.EMOJI[dbPoll.options.length + Number(i)]);
+ for (let i = 0; i < additionalPollOptions.length; i++) {
+ await msg.react(pollEmbedService.EMOJI[dbPoll.options.length + i]);
168
}
169
await message.delete();
170
0 commit comments