From d9e080f4b94c33ae1b83996bce1f3c5f88bd4dea Mon Sep 17 00:00:00 2001 From: Kwoth Date: Mon, 29 Jul 2024 05:33:49 +0000 Subject: [PATCH] change: .reroadd error message improved --- .../Modules/Administration/Role/ReactionRoleCommands.cs | 2 +- src/NadekoBot/data/strings/responses/responses.en-US.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/NadekoBot/Modules/Administration/Role/ReactionRoleCommands.cs b/src/NadekoBot/Modules/Administration/Role/ReactionRoleCommands.cs index df8d23d3c..6bb9e4a6d 100644 --- a/src/NadekoBot/Modules/Administration/Role/ReactionRoleCommands.cs +++ b/src/NadekoBot/Modules/Administration/Role/ReactionRoleCommands.cs @@ -33,7 +33,7 @@ public partial class Administration var msg = await ctx.Channel.GetMessageAsync(messageId); if (msg is null) { - await Response().Error(strs.not_found).SendAsync(); + await Response().Error(strs.rero_message_not_found).SendAsync(); return; } diff --git a/src/NadekoBot/data/strings/responses/responses.en-US.json b/src/NadekoBot/data/strings/responses/responses.en-US.json index 1d201d5db..350b5f498 100644 --- a/src/NadekoBot/data/strings/responses/responses.en-US.json +++ b/src/NadekoBot/data/strings/responses/responses.en-US.json @@ -1108,5 +1108,6 @@ "overloads": "Overloads", "honeypot_on": "Honeypot enabled on this channel." , "honeypot_off": "Honeypot disabled.", - "afk_set": "AFK message set. Type a message in any channel to clear." + "afk_set": "AFK message set. Type a message in any channel to clear.", + "rero_message_not_found": "The specified message wasn't found. Make sure you've specified the message from this channel." }