Open the project in IntelliJ IDEA and run the Main configuration, everything should compile and run.
However to get rid of the NPE and successfully log in with the bot you will need to provide your own token in token.txt located in src/main/resources/.
To learn how to get a token please go here.