This feature no longer seems to be working. I get an error saying that I need to have an email and a password to connect with the discord bot. It says no valid token provided, but I copied the one labeled "client secret" (again I think Discord has changed how this works!)
from my servertest.ini:
DiscordEnable=true
DiscordToken=<insert_valid_token>
DiscordChannel=pz-server-ingame-chat
DiscordChannelID=797150114950021142
error I got when running server:
java.lang.IllegalArgumentException: No valid token provided AND missing email or password. Connecting not possible!
at de.btobastian.javacord.ImplDiscordAPI.connectBlocking(ImplDiscordAPI.java:155)
at de.btobastian.javacord.ImplDiscordAPI$2.call(ImplDiscordAPI.java:145)
at de.btobastian.javacord.ImplDiscordAPI$2.call(ImplDiscordAPI.java:142)
at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:111)
at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:58)
at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:75)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)