aboutsummaryrefslogtreecommitdiffstats
path: root/config_cmds.h
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2017-05-07 18:08:10 +0100
committerFreeArtMan <dos21h@gmail.com>2017-05-07 18:08:10 +0100
commitadf40686a636bfe95357c3affe011a2514bfbf52 (patch)
treedc0a0e15fc2c0c883c3df7cd9ca7020d9320901a /config_cmds.h
parent910c1942b21bd88fa9b2091a0f7322f6b2c96df7 (diff)
downloadagni-adf40686a636bfe95357c3affe011a2514bfbf52.tar.gz
agni-adf40686a636bfe95357c3affe011a2514bfbf52.zip
Updated command that they are more compatible with developerslv chan bots
Diffstat (limited to 'config_cmds.h')
-rw-r--r--config_cmds.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/config_cmds.h b/config_cmds.h
index 8488cc0..2fc20a5 100644
--- a/config_cmds.h
+++ b/config_cmds.h
@@ -18,15 +18,18 @@ typedef struct single_cmd_def
#include "cmd_cmd.h"
#include "cmd_sha1.h"
+
+//some commands have aliases for compat with some developerslv bots
+//nothing else comaptible will be added, as its not about "standarts"
single_cmd_def confgi_cmd_list[] =
{
{"DATE",cmd_date},
- {"UPTIME",cmd_uptime},
- {"VERSION",cmd_version},
- {"PING",cmd_ping},
+ {"UPTIME",cmd_uptime}, {"!uptime",cmd_uptime},
+ {"VERSION",cmd_version}, {"!version",cmd_version},
+ {"PING",cmd_ping}, {"!ping",cmd_ping},
{"LOADAVG",cmd_loadavg},
{"RUSE",cmd_rusage},
- {"CMD",cmd_cmd},
+ {"CMD",cmd_cmd}, {"!echo",cmd_cmd},
{"SHA1",cmd_sha1},
{NULL,NULL}
};