Skip to content

Extension Library for Kord that provides all supported Discord emojis

Notifications You must be signed in to change notification settings

kordlib/kordx.emoji

Repository files navigation

kordx.emoji

Discord

An extension library that adds a list of supported emojis to Kord.

suspend fun MessageCreateEvent.handle() {
    if (message.content != "!ping") return

    message.addReaction(Emojis.pingPong)

    message.channel.createMessage("${Emojis.stopwatch} gateway latency is:${kord.gateway.ping.toLongMilliseconds()} ms")
}

Installation

Replace {version} with the desired version number.

Gradle (groovy)

dependencies {
    implementation 'dev.kord.x:emoji:{version}'
}

Gradle (kotlin)

dependencies { 
    implementation("dev.kord.x:emoji:{version}")
}

Maven

<dependency>
    <groupId>dev.kord.x</groupId>
    <artifactId>emoji</artifactId>
    <version>{version}</version>
</dependency>

About

Extension Library for Kord that provides all supported Discord emojis

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages