summaryrefslogtreecommitdiff
path: root/src/main/java/com/redstoner/modules/saylol/Saylol.cmd
diff options
context:
space:
mode:
authorMinenash <minenash@protonmail.com>2019-02-17 23:34:19 -0500
committerMinenash <minenash@protonmail.com>2019-02-17 23:34:19 -0500
commitbb18b838c6093a1c93c21b7c86ff2d894464c662 (patch)
treeadd17de806f2150969fa0ccd10a4eb5c4b2a84e4 /src/main/java/com/redstoner/modules/saylol/Saylol.cmd
parent0061411a575862256b51f0cf6fffa0bae9fa5d08 (diff)
Added paging to /lol search and /lol match.
This also fixed a bug where if there was too many results, then the server would refuse to send the message.
Diffstat (limited to 'src/main/java/com/redstoner/modules/saylol/Saylol.cmd')
-rw-r--r--src/main/java/com/redstoner/modules/saylol/Saylol.cmd5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/com/redstoner/modules/saylol/Saylol.cmd b/src/main/java/com/redstoner/modules/saylol/Saylol.cmd
index b81605a..f8512c1 100644
--- a/src/main/java/com/redstoner/modules/saylol/Saylol.cmd
+++ b/src/main/java/com/redstoner/modules/saylol/Saylol.cmd
@@ -41,6 +41,11 @@ command lol {
run matchlol -i regex;
perm utils.lol.match;
}
+ page [int:num] {
+ help Shows you page <num>. Used in /lol search, /lol match, and /lol list.;
+ run page num;
+ perm utils.lol.page;
+ }
[empty] {
help Lols.;
run saylol;