Discord over IRC

Converts and replaces all IRC centric procs, vars, etcetera, into discord centric ones.
This commit is contained in:
skull132
2016-02-16 17:42:00 +02:00
parent ff44a211fb
commit 121d4fcdd7
11 changed files with 35 additions and 52 deletions
+10 -18
View File
@@ -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)