From 17648842430891e9671662d7dce35c9e49630cd8 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Thu, 18 Aug 2022 11:15:29 +0300 Subject: [PATCH] bugfix --- src/localization/en_gb/commands/en_gb_utility.lang | 4 ++++ src/structure/client/ModerationManager.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/localization/en_gb/commands/en_gb_utility.lang b/src/localization/en_gb/commands/en_gb_utility.lang index 7fd36b6..5f1145a 100644 --- a/src/localization/en_gb/commands/en_gb_utility.lang +++ b/src/localization/en_gb/commands/en_gb_utility.lang @@ -11,6 +11,10 @@ Unable to find an avatar with those arguments, try a different size or format. [COMMAND_AVATAR_NOBANNER] User doesn't have a banner. +// Remind command +[COMMAND_REMIND_HELP] +Create a reminder or manage your existing ones. + [COMMAND_REMIND_CONFIRM] Will remind you about '{reminder}' in {time} diff --git a/src/structure/client/ModerationManager.js b/src/structure/client/ModerationManager.js index 9455e55..919c973 100644 --- a/src/structure/client/ModerationManager.js +++ b/src/structure/client/ModerationManager.js @@ -115,7 +115,7 @@ class ModerationManager { expiration: args.expiration ? args.expiration?.value * 1000 : null, reason: args.reason?.value, duration: args.duration ? args.duration.value * 1000 : null, - data: info.data, + data: { ...info.data }, force, silent });