mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 20:37:34 +01:00
Discord over IRC
Converts and replaces all IRC centric procs, vars, etcetera, into discord centric ones.
This commit is contained in:
@@ -34,9 +34,9 @@
|
||||
// comment out the line below when debugging locally to enable the options & messages menu
|
||||
//control_freak = 1
|
||||
|
||||
var/received_irc_pm = -99999
|
||||
var/irc_admin //IRC admin that spoke with them last.
|
||||
var/mute_irc = 0
|
||||
var/received_discord_pm = -99999
|
||||
var/discord_admin //IRC- no more IRC, K? Discord admin that spoke with them last.
|
||||
var/mute_discord = 0
|
||||
|
||||
|
||||
////////////////////////////////////
|
||||
|
||||
@@ -45,14 +45,14 @@
|
||||
cmd_admin_pm(C,null)
|
||||
return
|
||||
|
||||
if(href_list["irc_msg"])
|
||||
if(!holder && received_irc_pm < world.time - 6000) //Worse they can do is spam IRC for 10 minutes
|
||||
usr << "<span class='warning'>You are no longer able to use this, it's been more then 10 minutes since an admin on IRC has responded to you</span>"
|
||||
if(href_list["discord_msg"])
|
||||
if(!holder && received_discord_pm < world.time - 6000) //Worse they can do is spam IRC for 10 minutes
|
||||
usr << "<span class='warning'>You are no longer able to use this, it's been more then 10 minutes since an admin on Discord has responded to you</span>"
|
||||
return
|
||||
if(mute_irc)
|
||||
usr << "<span class='warning'You cannot use this as your client has been muted from sending messages to the admins on IRC</span>"
|
||||
if(mute_discord)
|
||||
usr << "<span class='warning'You cannot use this as your client has been muted from sending messages to the admins on Discord</span>"
|
||||
return
|
||||
cmd_admin_irc_pm(href_list["irc_msg"])
|
||||
cmd_admin_discord_pm(href_list["discord_msg"])
|
||||
return
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user