Hate to sound like an ass but if these are the types of questions you're stuck on then you won't get very far in developing your own bot client - you...
Spending 2-3 hours of my day on IntelliJ telling me I have errors in my KotlinScripts and Gradle compiling perfectly fine is the best use of my day....