DiscordIntegration-Forge icon indicating copy to clipboard operation
DiscordIntegration-Forge copied to clipboard

[Bug]: Making serverStarting blank causes bot to crash instead of stop the message from being sent

Open RandomGgames opened this issue 1 year ago • 3 comments

What happened?

Setting serverStarting to "" causes bot to not work at all. Probably happens with the other auto-messages if I had to guess.

To fix, best two options would be to check if "" and just disable, or add a dedicated true/false option for enabling these messages.

Game Version

1.19

What platform are you using?

Fabric

Platform version

2.4.5

Config File

# This message will edited in / sent when the server finished starting
serverStarted = ""
# Message to show while the server is starting
# This will be edited to SERVER_STARTED_MSG when webhook is false
serverStarting = ""
# This message will be sent when the server was stopped
serverStopped = ""
# The message to print to discord when it was possible to detect a server crash
serverCrash = "Server Crash Detected :thinking:"

RandomGgames avatar Jul 06 '22 12:07 RandomGgames

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Mar 22 '23 00:03 github-actions[bot]

if this is still an issue, than should be fixed. I haven't looked at it in a while.

RandomGgames avatar Mar 22 '23 06:03 RandomGgames

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Jun 22 '23 01:06 github-actions[bot]