From 9601a4d1a9f9ae64ecc55b0caa56343846d31b25 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Wed, 21 Aug 2024 23:44:27 +0000 Subject: [PATCH] docs: Clarified some quote command strings change: Changed .delallq to be .qdall as all quote related commands start with .q now --- src/NadekoBot/Modules/Utility/Quote/QuoteCommands.cs | 2 +- src/NadekoBot/data/aliases.yml | 8 ++++---- src/NadekoBot/data/strings/commands/commands.en-US.yml | 9 +++++---- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/NadekoBot/Modules/Utility/Quote/QuoteCommands.cs b/src/NadekoBot/Modules/Utility/Quote/QuoteCommands.cs index 29bcc2903..29e3963c8 100644 --- a/src/NadekoBot/Modules/Utility/Quote/QuoteCommands.cs +++ b/src/NadekoBot/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/NadekoBot/data/aliases.yml b/src/NadekoBot/data/aliases.yml index 2ede414c0..359021a5d 100644 --- a/src/NadekoBot/data/aliases.yml +++ b/src/NadekoBot/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/NadekoBot/data/strings/commands/commands.en-US.yml b/src/NadekoBot/data/strings/commands/commands.en-US.yml index 06d5c2fbd..885e5d9f7 100644 --- a/src/NadekoBot/data/strings/commands/commands.en-US.yml +++ b/src/NadekoBot/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 be 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: