From 290249dd063380e2df6e2917a6b9cf4be03c94dc Mon Sep 17 00:00:00 2001 From: Toastie Date: Thu, 22 Aug 2024 20:27:04 +1200 Subject: [PATCH] Clarified some quote command strings Changed .delallq to be .qdall as all quote related commands start with .q now --- src/EllieBot/Modules/Utility/Quote/QuoteCommands.cs | 2 +- src/EllieBot/data/aliases.yml | 8 ++++---- src/EllieBot/data/strings/commands/commands.en-US.yml | 9 +++++---- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/EllieBot/Modules/Utility/Quote/QuoteCommands.cs b/src/EllieBot/Modules/Utility/Quote/QuoteCommands.cs index bf50b9c..41bbc61 100644 --- a/src/EllieBot/Modules/Utility/Quote/QuoteCommands.cs +++ b/src/EllieBot/Modules/Utility/Quote/QuoteCommands.cs @@ -321,7 +321,7 @@ public partial class Utility [Cmd] [RequireContext(ContextType.Guild)] [UserPerm(GuildPerm.ManageMessages)] - public async Task DelAllQuotes([Leftover] string keyword) + public async Task QuotesDeleteAll([Leftover] string keyword) { if (string.IsNullOrWhiteSpace(keyword)) return; diff --git a/src/EllieBot/data/aliases.yml b/src/EllieBot/data/aliases.yml index af897a8..be045d0 100644 --- a/src/EllieBot/data/aliases.yml +++ b/src/EllieBot/data/aliases.yml @@ -700,10 +700,10 @@ guide: - readme calcops: - calcops -delallquotes: - - delallquotes - - daq - - delallq +quotesdeleteall: + - quotesdeleteall + - qdall + - qdeleteall greetdmmsg: - greetdmmsg cash: diff --git a/src/EllieBot/data/strings/commands/commands.en-US.yml b/src/EllieBot/data/strings/commands/commands.en-US.yml index f82206d..a4b7d15 100644 --- a/src/EllieBot/data/strings/commands/commands.en-US.yml +++ b/src/EllieBot/data/strings/commands/commands.en-US.yml @@ -1308,7 +1308,8 @@ quotesearch: textOrAuthor: desc: "The search term to find a matching quote." quoteid: - desc: Displays the quote with the specified ID number. Quote ID numbers can be found by typing `{0}liqu [num]` where `[num]` is a number of a page which contains 15 quotes. + desc: -| + Displays the quote with the specified ID number. ex: - 123456 params: @@ -2165,13 +2166,13 @@ calcops: - '' params: - {} -delallquotes: - desc: Deletes all quotes on a specified keyword. +quotesdeleteall: + desc: Deletes all quotes with the specified keyword. ex: - kek params: - keyword: - desc: "The keyword to search for in the text." + desc: "The keyword/trigger of the quotes to the deleted." greetdmmsg: desc: Sets a new join announcement message which will be sent to the user who joined. Type `%user.mention%` if you want to mention the new member. Using it with no message will show the current DM greet message. You can use embed json from instead of a regular text, if you want the message to be embedded. ex: