TGS chat usage cleanup

- Rename send2tgs to sent2adminchat.
- Move both chat procs to SSdiscord.dm.
- Fix bug when sending to TGS4 non-admin chats.
- Add DMdocs
- Improve notify command
  - Store mentions as strings
  - Disable command if config setting isn't enabled
This commit is contained in:
Jordan Brown
2020-05-23 13:33:09 -04:00
parent 1bec060cfe
commit 63e20801ed
10 changed files with 53 additions and 46 deletions
+1 -1
View File
@@ -486,7 +486,7 @@ GLOBAL_LIST_EMPTY(external_rsc_urls)
"Forever alone :("\
)
send2tgs("Server", "[cheesy_message] (No admins online)")
send2adminchat("Server", "[cheesy_message] (No admins online)")
QDEL_LIST_ASSOC_VAL(char_render_holders)
if(movingmob != null)
movingmob.client_mobs_in_contents -= mob