Skip to content

Commit

Permalink
🚧 Fixed poll error w/deferReply
Browse files Browse the repository at this point in the history
  • Loading branch information
wiki-Bird committed Aug 29, 2023
1 parent 09adb5b commit 31cddb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/poll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const poll: Command = {
.setDescription('Creates a poll.'),

execute: async function (interaction: CommandInteraction<'cached' | 'raw'>): Promise<void> {
await interaction.deferReply();
// await interaction.deferReply();

const Title = interaction.options.getString("title");
const Options = interaction.options.getString("options");
Expand Down

0 comments on commit 31cddb3

Please sign in to comment.