mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-14 11:32:04 +00:00
* spanish? * aaaagain * keep maptext * Update robot_items.dm * Update span_defines.dm * compiles * Update silicon_mob.dm * compile
12 lines
489 B
Plaintext
12 lines
489 B
Plaintext
// Relays messages to developer
|
|
/datum/redis_callback/developer_in
|
|
channel = "byond.devsay"
|
|
|
|
/datum/redis_callback/developer_in/on_message(message)
|
|
var/list/data = json_decode(message)
|
|
if(data["source"] == GLOB.configuration.system.instance_id) // Ignore self messages
|
|
return
|
|
for(var/client/C in GLOB.admins)
|
|
if(check_rights(R_ADMIN|R_DEV_TEAM, FALSE, C.mob))
|
|
to_chat(C, SPAN_DEV_CHANNEL("DEV: <small>[data["author"]]@[data["source"]]</small>: [html_encode(data["message"])]"))
|