greatman / legendarybot

Discord bot mainly aimed for WoW guilds.
MIT License
8 stars 3 forks source link

ClassCastException: org.json.simple.JSONObject cannot be cast to org.json.simple.JSONArray #8

Closed greatman closed 7 years ago

greatman commented 7 years ago

https://sentry.io/greatmancode/legendarybot/issues/326010547/

ClassCastException: org.json.simple.JSONObject cannot be cast to org.json.simple.JSONArray
    at com.greatmancode.legendarybot.commands.log.LogCommand.execute(LogCommand.java:73)
    at com.greatmancode.legendarybot.api.commands.CommandHandler.handle(CommandHandler.java:100)
    at com.greatmancode.legendarybot.MessageListener.onMessageReceived(MessageListener.java:66)
    at net.dv8tion.jda.core.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:385)
    at net.dv8tion.jda.core.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:84)
...
(13 additional frame(s) were not displayed)

org.json.simple.JSONObject cannot be cast to org.json.simple.JSONArray