added cmd_bots (lists all bots)
[NeonServV5.git] / src / bot_DummyServ.c
index 3ebe2676525234972df8918825f385a5c14bad8d..b618045e242f625a0d641569d8f0c5b3ab1e7431 100644 (file)
@@ -39,6 +39,7 @@
 #include "cmd_neonspam.h"
 
 #define BOTID 3
+#define BOTALIAS "DummyServ"
 
 static void dummyserv_bot_ready(struct ClientSocket *client) {
     MYSQL_RES *res;
@@ -105,6 +106,7 @@ static void start_bots() {
 
 void init_DummyServ() {
     
+    set_bot_alias(BOTID, BOTALIAS);
     start_bots();
     
     //register events
@@ -122,3 +124,4 @@ void free_DummyServ() {
 }
 
 #undef BOTID
+#undef BOTALIAS