Package-level declarations
Types
Utility class to convert between Kotlin and Java reflection objects.
Properties
Functions
Converts this JEmoji Emoji into a JDA UnicodeEmoji.
Returns null
if the element already exists
Finds all annotations of type A from the annotated element.
Finds all annotations meta-annotated with A from the annotated element.
Finds a single annotation of type A from the annotated element.
Finds all annotations from the annotated element.
Finds all annotations from the annotated element.
Computes the missing permissions from the specified permission holder, if you plan on showing them, be sure to use PermissionLocalization.localize.
Returns true
if this element is annotated with annotationType.
Returns true
if this element is annotated with A.
Returns true
if this element is annotated with annotationType.
Lazily converts the supplied Emoji into a JDA UnicodeEmoji.
Lazily converts the supplied Emoji into a JDA UnicodeEmoji.
Creates and registers an event listener fired for every event of type T on this shard.
Creates and registers an event listener fired for every event of type T on every shard.
Creates a CoroutineScope with incremental thread naming.
Returns null
if the element already exists
Reads a resource relative from the calling class.
Reads a resource relative as a string from the calling class.
Configures refill that does refill of tokens in greedy manner, it will try to add the tokens to bucket as soon as possible.
Configures refill that does refill of tokens in intervally manner.
Configures refill that does refill of tokens in intervally manner. "Intervally" in opposite to "greedy" will wait until whole period will be elapsed before regenerate tokens.
Creates a TypeReference of type T.
Reads a resource relative from the calling class.