From 0b593094beb30c0678e1ee539cba3853ff18e723 Mon Sep 17 00:00:00 2001 From: Shikhir Arora Date: Fri, 17 Feb 2017 19:58:20 -0500 Subject: [PATCH 1/8] Add .qsearch Add .qsearch to README --- docs/Commands List.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/Commands List.md b/docs/Commands List.md index d73852f3..fae7a847 100644 --- a/docs/Commands List.md +++ b/docs/Commands List.md @@ -390,9 +390,11 @@ Command and aliases | Description | Usage `.repeatremove` `.reprm` | Removes a repeating message on a specified index. Use `.repeatlist` to see indexes. **Requires ManageMessages server permission.** | `.reprm 2` `.repeat` | Repeat a message every X minutes in the current channel. You can have up to 5 repeating messages on the server in total. **Requires ManageMessages server permission.** | `.repeat 5 Hello there` `.repeatlist` `.replst` | Shows currently repeating messages and their indexes. **Requires ManageMessages server permission.** | `.repeatlist` -`.listquotes` `.liqu` | `.liqu` or `.liqu 3` | Lists all quotes on the server ordered alphabetically. 15 Per page. +`.list +s` `.liqu` | `.liqu` or `.liqu 3` | Lists all quotes on the server ordered alphabetically. 15 Per page. `...` | Shows a random quote with a specified name. | `... abc` `..` | Adds a new quote with the specified name and message. | `.. sayhi Hi` +`.qsearch` | Shows a random quote for a keyword that contains any text specified in the search | `.qsearch keyword text` `.deletequote` `.delq` | Deletes a random quote with the specified keyword. You have to either be server Administrator or the creator of the quote to delete it. | `.delq abc` `.delallq` `.daq` | Deletes all quotes on a specified keyword. **Requires Administrator server permission.** | `.delallq kek` `.remind` | Sends a message to you or a channel after certain amount of time. First argument is me/here/'channelname'. Second argument is time in a descending order (mo>w>d>h>m) example: 1w5d3h10m. Third argument is a (multiword)message. | `.remind me 1d5h Do something` or `.remind #general 1m Start now!` From 842b2778bfa46b2cabb20b111776e616de83725e Mon Sep 17 00:00:00 2001 From: Shikhir Arora Date: Fri, 17 Feb 2017 20:00:56 -0500 Subject: [PATCH 2/8] Update Commands List.md --- docs/Commands List.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/Commands List.md b/docs/Commands List.md index fae7a847..cf11b3d3 100644 --- a/docs/Commands List.md +++ b/docs/Commands List.md @@ -390,8 +390,7 @@ Command and aliases | Description | Usage `.repeatremove` `.reprm` | Removes a repeating message on a specified index. Use `.repeatlist` to see indexes. **Requires ManageMessages server permission.** | `.reprm 2` `.repeat` | Repeat a message every X minutes in the current channel. You can have up to 5 repeating messages on the server in total. **Requires ManageMessages server permission.** | `.repeat 5 Hello there` `.repeatlist` `.replst` | Shows currently repeating messages and their indexes. **Requires ManageMessages server permission.** | `.repeatlist` -`.list -s` `.liqu` | `.liqu` or `.liqu 3` | Lists all quotes on the server ordered alphabetically. 15 Per page. +`.listquotes` `.liqu` | `.liqu` or `.liqu 3` | Lists all quotes on the server ordered alphabetically. 15 Per page. `...` | Shows a random quote with a specified name. | `... abc` `..` | Adds a new quote with the specified name and message. | `.. sayhi Hi` `.qsearch` | Shows a random quote for a keyword that contains any text specified in the search | `.qsearch keyword text` From 8fe883dd89af0e2ba8e1e4fd625eb7cb6c9a587f Mon Sep 17 00:00:00 2001 From: Shikhir Arora Date: Fri, 17 Feb 2017 20:01:45 -0500 Subject: [PATCH 3/8] .qsearch add qsearch --- docs/Commands List.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Commands List.md b/docs/Commands List.md index cf11b3d3..35bbc0c8 100644 --- a/docs/Commands List.md +++ b/docs/Commands List.md @@ -393,7 +393,7 @@ Command and aliases | Description | Usage `.listquotes` `.liqu` | `.liqu` or `.liqu 3` | Lists all quotes on the server ordered alphabetically. 15 Per page. `...` | Shows a random quote with a specified name. | `... abc` `..` | Adds a new quote with the specified name and message. | `.. sayhi Hi` -`.qsearch` | Shows a random quote for a keyword that contains any text specified in the search | `.qsearch keyword text` +`.qsearch` | Shows a random quote for a keyword that contains any text specified in the search. | `.qsearch keyword text` `.deletequote` `.delq` | Deletes a random quote with the specified keyword. You have to either be server Administrator or the creator of the quote to delete it. | `.delq abc` `.delallq` `.daq` | Deletes all quotes on a specified keyword. **Requires Administrator server permission.** | `.delallq kek` `.remind` | Sends a message to you or a channel after certain amount of time. First argument is me/here/'channelname'. Second argument is time in a descending order (mo>w>d>h>m) example: 1w5d3h10m. Third argument is a (multiword)message. | `.remind me 1d5h Do something` or `.remind #general 1m Start now!` From 71ef6d45005f86e32271cde117b174004c6de7fd Mon Sep 17 00:00:00 2001 From: Shikhir Arora Date: Fri, 17 Feb 2017 20:02:48 -0500 Subject: [PATCH 4/8] Update description for .qsearch --- src/NadekoBot/Resources/CommandStrings.resx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Resources/CommandStrings.resx b/src/NadekoBot/Resources/CommandStrings.resx index 8f010f11..732c0087 100644 --- a/src/NadekoBot/Resources/CommandStrings.resx +++ b/src/NadekoBot/Resources/CommandStrings.resx @@ -1147,7 +1147,7 @@ qsearch - Searches a quote for a given keyword and any string portion of a quote matching that keyword. + Shows a random quote for a keyword that contains any text specified in the search. `{0}qsearch keyword text` From c9b28aeaf1bf71b151e3e481e406282d267ecd34 Mon Sep 17 00:00:00 2001 From: Shikhir Arora Date: Fri, 17 Feb 2017 20:03:40 -0500 Subject: [PATCH 5/8] update for .qsearch desc --- src/NadekoBot/Resources/CommandStrings.Designer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Resources/CommandStrings.Designer.cs b/src/NadekoBot/Resources/CommandStrings.Designer.cs index 7fb45cfe..579382ba 100644 --- a/src/NadekoBot/Resources/CommandStrings.Designer.cs +++ b/src/NadekoBot/Resources/CommandStrings.Designer.cs @@ -2391,7 +2391,7 @@ namespace NadekoBot.Resources { } /// - /// Looks up a localized string similar to Searches a quote for a given keyword and any string portion of a quote matching that keyword.. + /// Looks up a localized string similar to Shows a random quote for a keyword that contains any text specified in the search.. /// public static string searchquote_desc { get { From 7c730b7f22804e2d7817fbb059ac98c6e6a8b884 Mon Sep 17 00:00:00 2001 From: Shikhir Arora Date: Fri, 17 Feb 2017 20:14:54 -0500 Subject: [PATCH 6/8] Revert "Update Commands List.md" This reverts commit 842b2778bfa46b2cabb20b111776e616de83725e. --- docs/Commands List.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/Commands List.md b/docs/Commands List.md index 35bbc0c8..09592fee 100644 --- a/docs/Commands List.md +++ b/docs/Commands List.md @@ -390,7 +390,8 @@ Command and aliases | Description | Usage `.repeatremove` `.reprm` | Removes a repeating message on a specified index. Use `.repeatlist` to see indexes. **Requires ManageMessages server permission.** | `.reprm 2` `.repeat` | Repeat a message every X minutes in the current channel. You can have up to 5 repeating messages on the server in total. **Requires ManageMessages server permission.** | `.repeat 5 Hello there` `.repeatlist` `.replst` | Shows currently repeating messages and their indexes. **Requires ManageMessages server permission.** | `.repeatlist` -`.listquotes` `.liqu` | `.liqu` or `.liqu 3` | Lists all quotes on the server ordered alphabetically. 15 Per page. +`.list +s` `.liqu` | `.liqu` or `.liqu 3` | Lists all quotes on the server ordered alphabetically. 15 Per page. `...` | Shows a random quote with a specified name. | `... abc` `..` | Adds a new quote with the specified name and message. | `.. sayhi Hi` `.qsearch` | Shows a random quote for a keyword that contains any text specified in the search. | `.qsearch keyword text` From 261fdfc367971128874c671aa555b4ebdb39347a Mon Sep 17 00:00:00 2001 From: Shikhir Arora Date: Fri, 17 Feb 2017 20:15:00 -0500 Subject: [PATCH 7/8] Revert ".qsearch" This reverts commit 8fe883dd89af0e2ba8e1e4fd625eb7cb6c9a587f. --- docs/Commands List.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Commands List.md b/docs/Commands List.md index 09592fee..fae7a847 100644 --- a/docs/Commands List.md +++ b/docs/Commands List.md @@ -394,7 +394,7 @@ Command and aliases | Description | Usage s` `.liqu` | `.liqu` or `.liqu 3` | Lists all quotes on the server ordered alphabetically. 15 Per page. `...` | Shows a random quote with a specified name. | `... abc` `..` | Adds a new quote with the specified name and message. | `.. sayhi Hi` -`.qsearch` | Shows a random quote for a keyword that contains any text specified in the search. | `.qsearch keyword text` +`.qsearch` | Shows a random quote for a keyword that contains any text specified in the search | `.qsearch keyword text` `.deletequote` `.delq` | Deletes a random quote with the specified keyword. You have to either be server Administrator or the creator of the quote to delete it. | `.delq abc` `.delallq` `.daq` | Deletes all quotes on a specified keyword. **Requires Administrator server permission.** | `.delallq kek` `.remind` | Sends a message to you or a channel after certain amount of time. First argument is me/here/'channelname'. Second argument is time in a descending order (mo>w>d>h>m) example: 1w5d3h10m. Third argument is a (multiword)message. | `.remind me 1d5h Do something` or `.remind #general 1m Start now!` From dac66b454339480ddc3971fa0a7e5b2b362f2e69 Mon Sep 17 00:00:00 2001 From: Shikhir Arora Date: Fri, 17 Feb 2017 20:17:39 -0500 Subject: [PATCH 8/8] Revert "Add .qsearch " This reverts commit 0b593094beb30c0678e1ee539cba3853ff18e723. --- docs/Commands List.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/Commands List.md b/docs/Commands List.md index fae7a847..d73852f3 100644 --- a/docs/Commands List.md +++ b/docs/Commands List.md @@ -390,11 +390,9 @@ Command and aliases | Description | Usage `.repeatremove` `.reprm` | Removes a repeating message on a specified index. Use `.repeatlist` to see indexes. **Requires ManageMessages server permission.** | `.reprm 2` `.repeat` | Repeat a message every X minutes in the current channel. You can have up to 5 repeating messages on the server in total. **Requires ManageMessages server permission.** | `.repeat 5 Hello there` `.repeatlist` `.replst` | Shows currently repeating messages and their indexes. **Requires ManageMessages server permission.** | `.repeatlist` -`.list -s` `.liqu` | `.liqu` or `.liqu 3` | Lists all quotes on the server ordered alphabetically. 15 Per page. +`.listquotes` `.liqu` | `.liqu` or `.liqu 3` | Lists all quotes on the server ordered alphabetically. 15 Per page. `...` | Shows a random quote with a specified name. | `... abc` `..` | Adds a new quote with the specified name and message. | `.. sayhi Hi` -`.qsearch` | Shows a random quote for a keyword that contains any text specified in the search | `.qsearch keyword text` `.deletequote` `.delq` | Deletes a random quote with the specified keyword. You have to either be server Administrator or the creator of the quote to delete it. | `.delq abc` `.delallq` `.daq` | Deletes all quotes on a specified keyword. **Requires Administrator server permission.** | `.delallq kek` `.remind` | Sends a message to you or a channel after certain amount of time. First argument is me/here/'channelname'. Second argument is time in a descending order (mo>w>d>h>m) example: 1w5d3h10m. Third argument is a (multiword)message. | `.remind me 1d5h Do something` or `.remind #general 1m Start now!`