diff --git a/src/commands/decrease.ts b/src/commands/decrease.ts index 25be669..4cf9601 100644 --- a/src/commands/decrease.ts +++ b/src/commands/decrease.ts @@ -17,6 +17,6 @@ module.exports = { execute: async (interaction: CommandInteraction, member: GuildMember) => { await interaction.deferReply({ephemeral: true}); const amount = Math.trunc(interaction.options.getInteger('amount') || 1); - changeCounterInteraction(interaction, member, -amount); + changeCounterInteraction(interaction, member, -amount, false); } }; \ No newline at end of file diff --git a/src/commands/decrease2.ts b/src/commands/decrease2.ts index 2035f16..a41ac07 100644 --- a/src/commands/decrease2.ts +++ b/src/commands/decrease2.ts @@ -17,6 +17,6 @@ module.exports = { execute: async (interaction: CommandInteraction, member: GuildMember) => { await interaction.deferReply({ephemeral: true}); const amount = Math.trunc(interaction.options.getInteger('amount') || 1); - changeCounterInteraction(interaction, member, -amount); + changeCounterInteraction(interaction, member, -amount, true); } }; \ No newline at end of file diff --git a/src/commands/increase.ts b/src/commands/increase.ts index 4f80441..c75f9eb 100644 --- a/src/commands/increase.ts +++ b/src/commands/increase.ts @@ -17,6 +17,6 @@ module.exports = { execute: async (interaction: CommandInteraction, member: GuildMember) => { await interaction.deferReply({ephemeral: true}); const amount = Math.trunc(interaction.options.getInteger('amount') || 1); - changeCounterInteraction(interaction, member, amount); + changeCounterInteraction(interaction, member, amount, false); } }; \ No newline at end of file diff --git a/src/commands/increase2.ts b/src/commands/increase2.ts index c214726..ffbf100 100644 --- a/src/commands/increase2.ts +++ b/src/commands/increase2.ts @@ -22,6 +22,6 @@ module.exports = { }); await interaction.deferReply({ephemeral: true}); const amount = Math.trunc(interaction.options.getInteger('amount') || 1); - changeCounterInteraction(interaction, member, amount); + changeCounterInteraction(interaction, member, amount, true); } }; \ No newline at end of file