Skip to content

An example bot using the Diskord wrapper and Spring Boot

Notifications You must be signed in to change notification settings

Jofairden/Diskord-Bot-Example

Repository files navigation

Simple bot using Diskord

This is a simple bot example that uses the Diskord wrapper.

About bot token

If you want to run this bot, create a new file named 'bot.token' in the resources folder containing only the bot's token.

See the .gitignore file to see how the file is ignored.

NEVER PUBLISH YOUR BOT TOKEN

About this example

This bot uses Spring in kotlin for easy dependency management (autowiring and bean creation etc.) *Many of the dependency versions are set in gradle.properties, and automatically used due to the settings.gradle.kts script

If you don't like Spring, you can choose to not use it of course.

Recommended

Here is my recommended toolkit if you plan on making a more advanced bot:

Diskord ships with the libraries for coroutines and okhttp3 for websocket related things.

Kotlin/native support

Currently Diskord does not support kotlin/native, therefore you cannot generate native binaries.

About

An example bot using the Diskord wrapper and Spring Boot

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages