Removed world logs for discord notification on server startup

This commit is contained in:
void*
2019-01-03 19:16:09 +01:00
parent a179ffd83d
commit 7e32415b4b
+1 -3
View File
@@ -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