This Bot is written in Kotlin using JDA and is here to provide a quick start for getting your first Discord Bot on your Server.
You need to Create a new App on Discord and set it up as Bot User. Retrieve your token and paste it in the Settings.kt. The token is used to authenticate your Bot to the Discord Network otherwise it won't connect to any server.
The Bot can recognize the typical Ping command. This repo is designed to provide a simple template. It's fairly easy to implement other command functionalities.
Take a look at the Ping Command and how it's called in the Bot.kt
val commands = listOf (
Ping(),
YourCommand(),
YourSecondCommand(),
andSoOn()
)
Just create a fork and start coding :) Please check the JDA Repo for further information on how to use the API
I suggest using DigitalOcean Droplets - you can get a Droplet for just 5$ a month