From 04eaa84e9b3e2b0953085f4c9dd7ccefa32edec0 Mon Sep 17 00:00:00 2001 From: Repede Date: Wed, 7 Mar 2018 20:28:34 -0500 Subject: [PATCH] Changing players discord bot command to 'status' which gives playercount and round duration. --- code/modules/DMAPI/yawnDMAPI.dm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/modules/DMAPI/yawnDMAPI.dm b/code/modules/DMAPI/yawnDMAPI.dm index d5811e5c00..0a12f2a261 100644 --- a/code/modules/DMAPI/yawnDMAPI.dm +++ b/code/modules/DMAPI/yawnDMAPI.dm @@ -1,11 +1,11 @@ -/datum/server_tools_command/who - name = "players" //the string to trigger this command on a chat bot. e.g. TGS3_BOT: do_this_command - help_text = "Will broadcast the current player count" //help text for this command +/datum/server_tools_command/status + name = "status" //the string to trigger this command on a chat bot. e.g. TGS3_BOT: do_this_command + help_text = "Will broadcast the current player count and other round information" //help text for this command required_parameters = 0 //number of parameters required for this command admin_only = FALSE //set to TRUE if this command should only be usable by registered chat admins /datum/server_tools_command/who/Run(sender, params) - return "PLAYERCOUNT: [SERVER_TOOLS_CLIENT_COUNT]" + return "```PLAYERCOUNT: [SERVER_TOOLS_CLIENT_COUNT] ROUND DURATION: roundduration2text()```" // - FAX /datum/server_tools_command/readfax