Skip to content

Commit f05d54b

Browse files
committed
in -> of
1 parent 4b66d18 commit f05d54b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/commands/extend.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ export default class ExtendCommand implements MessageCommand {
163163
attachments: [],
164164
});
165165

166-
for (const i in additionalPollOptions) {
167-
await msg.react(pollEmbedService.EMOJI[dbPoll.options.length + Number(i)]);
166+
for (let i = 0; i < additionalPollOptions.length; i++) {
167+
await msg.react(pollEmbedService.EMOJI[dbPoll.options.length + i]);
168168
}
169169
await message.delete();
170170
}

0 commit comments

Comments
 (0)