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:+FlightRecorderif you want Java Mission Control Flight Recorder