I’m new to Kotlin, and i want create a Discord bot using JDA and Maven. I tried to add an better command handler (with some lists) but now, i can’t compile it anymore. Why?
[ERROR] /home/zagrion3/Kirani/src/main/kotlin/com/blueslimee/kirani/listeners/MessageListener. kt:[9,11] Expecting a top level declaration * 50.
And, here is my code: https://hastebin.com/adoxavogor.cs
(btw, i already found the