Closed KeybladeBrett closed 6 years ago
Make sure you are using the latest version of the bot. Then try running the bot with this command in command prompt:
java -jar "path to bot file" run
Use the quotes. Copy and paste what appears in the console.
Running bot version: 1.4.1
Initializing...
Got medal list
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 1
at java.lang.String.substring(Unknown Source)
at xlash.bot.khux.MedalHandler.compileNicknames(MedalHandler.java:177)
at xlash.bot.khux.MedalHandler.jpNicknames(MedalHandler.java:108)
at xlash.bot.khux.MedalHandler.createNicknames(MedalHandler.java:97)
at xlash.bot.khux.MedalHandler.
Ok. Thank you. I will look into this.
Yeah, no problem. What time does the lux occur, so I can send out the notification while the bot is down?
I have a hosted bot. You can invite it to your server using this link if you choose:
ok thank you so much
Having the same issue too. Glad it isn't something on my end.
Tried out the bot you're hosting @xlash123 . Doesn't seem to work on my server for some reason. Can't get medal data, latest tweets and such. 🤔
Looks like this isn't isolated. My instance of the server is having the same issue with the same error that KHZYX is having.
I knew there was an issue withe the Tweets, so I wasn't alarmed due to that, but I've confirmed that my server was overloaded. I'm performing a restart, and the bot will be back online shortly. Thank you for bringing this to my attention.
As for the main issue, I'll try to see what could be causing that issue. I don't spend as much time on the bot as before since I'm back in school now, so expect delay.
Ok, awesome. We can wait :)
Fixed in 1.4.2
The bot cannot run for whatever reason. I love it so much, but it just wont work anymore. It says Exception in thread "main". and closes