From 22cbcbc6b7dbfca4cf51388edc626c222be3dd3c Mon Sep 17 00:00:00 2001 From: "Jill \"oatmealine\" Monoids" Date: Wed, 19 Apr 2023 22:07:03 +0300 Subject: [PATCH] oops! --- src/commands/decrease.ts | 2 +- src/commands/decrease2.ts | 2 +- src/commands/increase.ts | 2 +- src/commands/increase2.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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