You are reading the documentation for the next version of discord.js. Documentation for v13/v14+ has been moved to old.discordjs.dev

API

export declare class API
export declare class API

No summary provided.

constructor(rest)
Constructs a new instance of the API class
NameTypeOptionalDescription
restRESTNoNone
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