mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
Discord over IRC
Converts and replaces all IRC centric procs, vars, etcetera, into discord centric ones.
This commit is contained in:
@@ -168,12 +168,10 @@ var/list/gamemode_cache = list()
|
||||
|
||||
var/enter_allowed = 1
|
||||
|
||||
var/use_irc_bot = 0
|
||||
var/irc_bot_host = ""
|
||||
var/irc_bot_export = 0 // whether the IRC bot in use is a Bot32 (or similar) instance; Bot32 uses world.Export() instead of nudge.py/libnudge
|
||||
var/main_irc = ""
|
||||
var/admin_irc = ""
|
||||
var/python_path = "" //Path to the python executable. Defaults to "python" on windows and "/usr/bin/env python2" on unix
|
||||
var/use_discord_bot = 0
|
||||
var/discord_bot_host = "localhost"
|
||||
var/discord_bot_port = 0
|
||||
var/python_path = "python" //Path to the python executable. Defaults to "python" on windows and "/usr/bin/env python2" on unix
|
||||
var/use_lib_nudge = 0 //Use the C library nudge instead of the python nudge.
|
||||
var/use_overmap = 0
|
||||
|
||||
@@ -522,12 +520,6 @@ var/list/gamemode_cache = list()
|
||||
if("allow_holidays")
|
||||
Holiday = 1
|
||||
|
||||
if("use_irc_bot")
|
||||
use_irc_bot = 1
|
||||
|
||||
if("irc_bot_export")
|
||||
irc_bot_export = 1
|
||||
|
||||
if("ticklag")
|
||||
Ticklag = text2num(value)
|
||||
|
||||
@@ -579,14 +571,14 @@ var/list/gamemode_cache = list()
|
||||
if("comms_password")
|
||||
config.comms_password = value
|
||||
|
||||
if("irc_bot_host")
|
||||
config.irc_bot_host = value
|
||||
if("use_discord_bot")
|
||||
config.use_discord_bot = 1
|
||||
|
||||
if("main_irc")
|
||||
config.main_irc = value
|
||||
if("discord_bot_host")
|
||||
config.discord_bot_host = value
|
||||
|
||||
if("admin_irc")
|
||||
config.admin_irc = value
|
||||
if("discord_bot_port")
|
||||
config.discord_bot_port = value
|
||||
|
||||
if("python_path")
|
||||
if(value)
|
||||
|
||||
Reference in New Issue
Block a user