You are reading the documentation for the
next
version of discord.js. Documentation for v13/v14+ has been moved to
old.discordjs.dev
/
docs
/
packages
/
core
/
main
/
API%3AClass
Search...
K
core
discord.js
brokers
builders
collection
core
formatters
next
proxy
rest
util
voice
ws
main
main
Classes
API
ApplicationCommandsAPI
ChannelsAPI
Client
GuildsAPI
InteractionsAPI
InvitesAPI
OAuth2API
RoleConnectionsAPI
StageInstancesAPI
StickersAPI
ThreadsAPI
UsersAPI
VoiceAPI
WebhooksAPI
Functions
withFiles
Interfaces
ClientOptions
DescriptiveRawFile
IntrinsicProps
MappedEvents
RequestGuildMembersResult
StartForumThreadOptions
WithIntrinsicProps
Types
ManagerShardEventsMap
Variables
version
API
export declare class
API
export declare class
API
Summary
No summary provided.
Constructor
constructor(rest)
Constructs a new instance of the
API
class
Name
Type
Optional
Description
rest
REST
No
None
Properties
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