Add ability to customize message

This commit is contained in:
Wieland Schöbl
2020-08-18 10:25:19 +02:00
parent 5969a2f221
commit 490a5dcd41
8 changed files with 128 additions and 45 deletions

View File

@@ -10,7 +10,7 @@ fun main() {
val builder = JDABuilder.createLight(
Admin.token,
GatewayIntent.GUILD_MESSAGES, GatewayIntent.DIRECT_MESSAGES)
.setActivity(Activity.watching("for new Blogposts"))
.setActivity(Activity.watching(Admin.message))
.build()
builder.addEventListener(AdminCli())