Adds a couple chat commands to tgs chatbot

This commit is contained in:
Aronai Sieyes
2020-05-10 14:04:08 -04:00
parent 1d9879c7a0
commit 85204d4ff5
2 changed files with 16 additions and 0 deletions
+1
View File
@@ -14,6 +14,7 @@
#include "v5\_defines.dm"
#include "v5\api.dm"
#include "v5\commands.dm"
#include "v5\chat_commands.dm"
#include "v5\undef.dm"
/*
+15
View File
@@ -0,0 +1,15 @@
/datum/tgs_chat_command/status
name = "status"
help_text = "Shows the current production server status"
admin_only = FALSE
/datum/tgs_chat_command/status/Run(datum/tgs_chat_user/sender, params)
return "```Players logged in: [GLOB.clients.len] - Round Duration: [roundduration2text()]```"
/datum/tgs_chat_command/parsetest
name = "parsetest"
help_text = "Shows the current production server status"
admin_only = FALSE
/datum/tgs_chat_command/parsetest/Run(datum/tgs_chat_user/sender, params)
return "```You passed:[params]```"