CommandClient

class CommandClient(val applicationId: String, client: RestClient) : RestClient(source)

Constructors

Link copied to clipboard
constructor(applicationId: String, client: RestClient)

Properties

Link copied to clipboard

Functions

Link copied to clipboard

FIXME - Document me!

Link copied to clipboard
suspend fun bulkOverwriteGuildCommands(guildId: String, commands: List<Command>): List<Command>

FIXME - Document me!

Link copied to clipboard

FIXME - Document me!

Link copied to clipboard

FIXME - Document me!

Link copied to clipboard
suspend fun createGuildCommand(guildId: String, command: CreateCommand): Command

FIXME - Document me!

Link copied to clipboard
open suspend override fun DELETE(majorPath: String, minorPath: String, rateKey: String, block: HttpRequestBuilder.() -> Unit): HttpResponse
Link copied to clipboard
suspend fun deleteGlobalCommand(commandId: String)

FIXME - Document me!

Link copied to clipboard
suspend fun deleteGuildCommand(guildId: String, commandId: String)

FIXME - Document me!

Link copied to clipboard
open suspend override fun GET(majorPath: String, minorPath: String, rateKey: String, block: HttpRequestBuilder.() -> Unit): HttpResponse
Link copied to clipboard
suspend fun getGlobalCommand(commandId: String): Command

FIXME - Document me!

Link copied to clipboard

FIXME - Document me!

Link copied to clipboard
suspend fun getGuildCommand(guildId: String, commandId: String): Command

FIXME - Document me!

Link copied to clipboard

FIXME - Document me!

Link copied to clipboard
suspend fun getGuildCommands(guildId: String): List<Command>

FIXME - Document me!

Link copied to clipboard

FIXME - Document me!

Link copied to clipboard
open suspend override fun PATCH(majorPath: String, minorPath: String, rateKey: String, omitNulls: Boolean, block: HttpRequestBuilder.() -> Unit): HttpResponse
Link copied to clipboard
open suspend override fun POST(majorPath: String, minorPath: String, rateKey: String, omitNulls: Boolean, block: HttpRequestBuilder.() -> Unit): HttpResponse
Link copied to clipboard
open suspend override fun PUT(majorPath: String, minorPath: String, rateKey: String, omitNulls: Boolean, block: HttpRequestBuilder.() -> Unit): HttpResponse
Link copied to clipboard
suspend fun updateGlobalCommand(commandId: String, command: PatchCommand): Command

FIXME - Document me!

Link copied to clipboard
suspend fun updateGuildCommand(guildId: String, commandId: String, command: PatchCommand): Command

FIXME - Document me!

Link copied to clipboard
suspend fun updateGuildCommandPermissions(guildId: String, commandId: String, permissions: List<CommandPermissions>)

FIXME - Document me!