More TGS3 Discord Bot Tests

This commit is contained in:
Repede
2018-02-28 19:33:28 -05:00
parent 7478ae0cb6
commit 93573abcf9
2 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@
admin_only = FALSE //set to TRUE if this command should only be usable by registered chat admins 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) /datum/server_tools_command/who/Run(sender, params)
SERVER_TOOLS_CHAT_BROADCAST("[SERVER_TOOLS_CLIENT_COUNT]") return "PLAYERCOUNT: [SERVER_TOOLS_CLIENT_COUNT]"
// - FAX // - FAX
/datum/server_tools_command/readfax /datum/server_tools_command/readfax
@@ -19,4 +19,4 @@
var/savefile/F = new() var/savefile/F = new()
var/faxfile = file("[config.fax_export_dir]/fax_[faxid].html") var/faxfile = file("[config.fax_export_dir]/fax_[faxid].html")
var/faxmsg = F.ImportText("/",faxfile) var/faxmsg = F.ImportText("/",faxfile)
SERVER_TOOLS_RELAY_BROADCAST("FAX: [url_encode(faxmsg)]") return "FAX: [url_encode(faxmsg)]"

View File

@@ -125,7 +125,7 @@ var/list/adminhelp_ignored_words = list("unknown","the","a","an","of","monkey","
world.Export("[config.chat_webhook_url]?[query_string]") world.Export("[config.chat_webhook_url]?[query_string]")
// VoreStation Edit End // VoreStation Edit End
//YW EDIT START //YW EDIT START
SERVER_TOOLS_RELAY_BROADCAST("ADMINHELP: FROM: [key_name(src)] - MSG: html_decode(original_msg) - Heard by [admins.len-admin_number_afk] non-AFK staffmembers.") SERVER_TOOLS_RELAY_BROADCAST("ADMINHELP: FROM: [key_name(src)] - MSG: [html_decode(original_msg)] - Heard by [admins.len-admin_number_afk] NON-AFK staff members.")
//YW EDIT END //YW EDIT END
return return