Interaction listeners for buttons
Your bot ID
A Map of commands
A Map of fuwa#client events
DiscordAPI GateWay Intents
Commands that will be mounted before the ready event
Alias for on
The event name
Options to pass to the client
ws connection
websocket url to connect to
api version to connect to
Allows easy access to the fuwa.js#Guild information.
Id of the guild you want to fetch
If you want the guild to contain the approximant member count of the guild (and presences), warning this may slow down the request so only use if needed
A Guild, or null if the guild was not found
Returns all mounted commands and there discord data.
the id of the guild your application command is registered in.
Connects the websocket client to discords api.
Your discord bot token.
Shuts down the bot process.
The event name
the shard(s) spawned from websocket
discord raw api json
Deletes a command from the discord api.
command id
only needed if your command is a guild command and your id is a string
The base Client to access and configure your discord bot. The client should be imported from fuwa.js and extended either as a variable or class.
Both will work in javascript or typescript.