summaryrefslogtreecommitdiff
path: root/src/main/java/com/redstoner/modules/abot/Abot.cmd
diff options
context:
space:
mode:
authorDavid Panić <david@panic.tk>2019-06-07 21:07:45 +0200
committerDavid Panić <david@panic.tk>2019-06-07 21:07:45 +0200
commitc30fdec97e87f92a05290a8a0482c36e91b367c7 (patch)
treeb83da3fcd82e7032f13d83439c8c9d787c2485b6 /src/main/java/com/redstoner/modules/abot/Abot.cmd
parent62cf62adc3b3b2d5c11cf1a144e49e98a0bedced (diff)
parentfac1212bd9e9f9bd66ef2aaa556b91acaec0221d (diff)
Merge branch 'dev'HEADmaster
Diffstat (limited to 'src/main/java/com/redstoner/modules/abot/Abot.cmd')
-rw-r--r--src/main/java/com/redstoner/modules/abot/Abot.cmd50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/main/java/com/redstoner/modules/abot/Abot.cmd b/src/main/java/com/redstoner/modules/abot/Abot.cmd
index c8bb2d8..1566a64 100644
--- a/src/main/java/com/redstoner/modules/abot/Abot.cmd
+++ b/src/main/java/com/redstoner/modules/abot/Abot.cmd
@@ -4,4 +4,54 @@ command abot {
run abot_reload;
perm utils.abot.reload;
}
+ list [flag:-nh] {
+ help Lists all the answers. Use -nh to move info from hover to chat, recommended for Console;
+ run abot_list_nh -nh;
+ perm utils.abot.list;
+ }
+ list {
+ help Lists all the answers. Use -nh to move info from hover to chat, recommended for Console;
+ run abot_list -nh;
+ perm utils.abot.list;
+ }
+ get [string:name] {
+ help Gets the properties of an answer.;
+ run abot_get name;
+ perm utils.abot.get;
+ }
+ add [string:name] {
+ help Adds an answer to the bot.;
+ run abot_add name;
+ perm utils.abot.add;
+ }
+ remove [string:name] {
+ help Removes an answer to the bot.;
+ run abot_remove name;
+ perm utils.abot.remove;
+ }
+ edit [string:name] name [string:new] {
+ help Changes the name of an answer.;
+ run abot_edit_name name new;
+ perm utils.abot.edit.name;
+ }
+ edit [string:name] message [string:new...] {
+ help Changes the message of an answer.;
+ run abot_edit_message name new;
+ perm utils.abot.edit.name;
+ }
+ edit [string:name] permission [string:new] {
+ help Changes the permission of an answer.;
+ run abot_edit_permission name new;
+ perm utils.abot.edit.permission;
+ }
+ edit [string:name] regex add [string:regex...] {
+ help Adds a regex from an answer;
+ run abot_edit_regex_add name regex;
+ perm utils.abot.edit.regex;
+ }
+ edit [string:name] regex remove [string:regex...] {
+ help Removed a regex from an answer;
+ run abot_edit_regex_remove name regex;
+ perm utils.abot.edit.regex;
+ }
} \ No newline at end of file