HerokuでKotlin/JDAを始めるテンプレート
Visit Heroku DashBoard and create new app with name you like.
app page
> Setting
> Config Vars
> Reveal Config Vars
KEY: DISCORD_BOT_TOKEN
VALUE: Your discord bot token
click Add
At first, create your own repository from Use this template
and note the name.
After that app page
> Deploy
> Deployment method
> Click GitHub
.
Input your repo name on the field in Connect to GitHub
section to search, then click connect
.
Make sure the branch was you want to deploy certainly.
Click Enable Automatic Deploy
and Deploy Branch
.
After few minutes, your bot will be active.