Changes the discord bot into a subsystem and adds quite a bit of additional logging (#17996)

* Changes the discord bot into a subsystem and adds quite a bit of additional logging

* Removes a forgotten todo

* replaces call with RUSTG_CALL (to make it compile) and adds a comment

* Re-Add log prefix

---------

Co-authored-by: Werner <Arrow768@users.noreply.github.com>
This commit is contained in:
Werner
2023-12-19 23:54:57 +01:00
committed by GitHub
parent d0ca24467e
commit 3daec39efa
27 changed files with 219 additions and 135 deletions
@@ -21,8 +21,8 @@
if(!D)
return
var/static/list/blacklist = list(/datum/configuration)
if(blacklist[D.type])
var/static/list/blacklist = list(/datum/configuration, /datum/controller/subsystem/discord)
if(is_type_in_list(D,blacklist))
return
var/icon/sprite