Skip to content

Commit

Permalink
Don't make RNG responses ephemeral
Browse files Browse the repository at this point in the history
  • Loading branch information
gruppler committed Jun 17, 2024
1 parent 1978788 commit c8021bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/rng.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ module.exports = {
async execute(interaction) {
const max = interaction.options.getInteger("max");
const rand = 1 + Math.floor(Math.random() * max);
return sendMessage(interaction, rand.toString(), true);
return sendMessage(interaction, rand.toString());
},
};

0 comments on commit c8021bf

Please sign in to comment.