mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Fixed a bug that caused the whisper for prayers to be delayed by a few seconds (#32349)
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
// Meta argument here is the MoMMI meta argument to send to the gamenudge route.
|
||||
// AKA the MoMMI config file chooses where to send it based on this key.
|
||||
/proc/send2discord(var/msg, var/meta, var/ping = FALSE)
|
||||
set waitfor = FALSE
|
||||
if (!global.config.discord_url || !global.config.discord_password)
|
||||
return
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define IRC_FLAG_ADMINHELP "ahelps"
|
||||
|
||||
/proc/send2irc(var/flag, var/msg)
|
||||
set waitfor = FALSE
|
||||
if(config.use_irc_bot)
|
||||
var/a=" --key=\"[config.comms_password]\""
|
||||
a += " --id=\"[config.irc_bot_server_id]\""
|
||||
@@ -12,7 +13,6 @@
|
||||
a+=" --port=\"[config.irc_bot_port]\""
|
||||
msg=replacetext(msg,"\"","\\\"")
|
||||
ext_python("ircbot_message.py", "[a] [escape_shell_arg(msg)]")
|
||||
return
|
||||
|
||||
/proc/send2mainirc(var/msg)
|
||||
send2irc(IRC_FLAG_GENERAL,msg)
|
||||
|
||||
Reference in New Issue
Block a user