mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Sends a discord killphrase after a round has ended (#28546)
* Sends a discord killphrase after a round has ended * Move it to a config
This commit is contained in:
@@ -194,6 +194,7 @@
|
||||
// Discord crap.
|
||||
var/discord_url
|
||||
var/discord_password
|
||||
var/kill_phrase = "All your bases are belong to us."
|
||||
|
||||
// Weighted Votes
|
||||
var/weighted_votes = 0
|
||||
@@ -618,6 +619,9 @@
|
||||
if("weighted_votes")
|
||||
weighted_votes = TRUE
|
||||
|
||||
if ("kill_phrase")
|
||||
kill_phrase = value
|
||||
|
||||
else
|
||||
diary << "Unknown setting in configuration: '[name]'"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user