Package dev.floofy.utils.kord

Functions

Link copied to clipboard
fun Color.toKordColor(): Color

Returns this AwtColor to a Kord Color.

Link copied to clipboard
fun Long.toSnowflake(): Snowflake

Returns a Snowflake of this Long.

fun String.toSnowflake(): Snowflake

Returns a Snowflake of this string, if it's compatible.

Properties

Link copied to clipboard
val Event.name: String

Returns the name of this Event corresponding to the raw Discord event key from the gateway.

val Permission.name: String

Returns a prettified version of this Permission's name.