mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-10 14:44:05 +01:00
Removed world logs for discord notification on server startup
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
/hook/startup/proc/discordNotify()
|
||||
world << "trigger discordNotify()"
|
||||
if (config.use_discord_bot && config.discord_host && config.discord_port)
|
||||
world << "http://[config.discord_host]:[config.discord_port]/?command=startup&name=[station_name()]&connect=[world.address]:[world.port]"
|
||||
world.Export("http://[config.discord_host]:[config.discord_port]/?command=startup&name=[station_name()]&connect=[world.address]:[world.port]")
|
||||
world.Export("http://[config.discord_host]:[config.discord_port]/?command=startup&name=[station_name()]&connect=[config.server?"[config.server]":"[world.address]:[world.port]"]")
|
||||
return 1
|
||||
Reference in New Issue
Block a user