class API

export declare class API

Constructors

constructor(
rest: REST
)

Constructs a new instance of the API class

readonly
applicationCommands : ApplicationCommandsAPI

readonly
channels : ChannelsAPI

readonly
guilds : GuildsAPI

readonly
interactions : InteractionsAPI

readonly
invites : InvitesAPI

readonly
oauth2 : OAuth2API

readonly
rest : REST

readonly
roleConnections : RoleConnectionsAPI

readonly
stageInstances : StageInstancesAPI

readonly
stickers : StickersAPI

readonly
threads : ThreadsAPI

readonly
users : UsersAPI

readonly
voice : VoiceAPI

readonly
webhooks : WebhooksAPI