class API

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
rest : REST

readonly
roleConnections : RoleConnectionsAPI

readonly
stickers : StickersAPI

readonly
threads : ThreadsAPI

readonly
users : UsersAPI

readonly
voice : VoiceAPI

readonly
webhooks : WebhooksAPI