Running the bot in development (Intellij)
- Make a new Run configuration using the Kotlin template
- Remove default "Before Run" task
- Add Maven Build "Before Run" task
- Set main class as
ml.rhodes.bots.discord.devrant.Main
- Set first program argument as the bot token
- Set VM options to
-XX:+UnlockCommercialFeatures -XX:+FlightRecorder
if you want Java Mission Control Flight Recorder