Create Engine
discord bot token
The Discord.Client instance used with the engine
The discord bot token to use with the client
The EngineInstance containing context variables
Internal callstack for executeStack
Delete a message in Engine#instance.currentChannel
discord message id of the existing message to delete
Delete multiple messages at once in Engine#instance.currentChannel
ChannelLogsQueryOptions that determines what messages to delete
Edit an existing message in Engine#instance.currentChannel
EngineEditOptions which specifices the message to edit and the new message
Execute any command from EngineCommand and ensure Engine#Client is connected beforehand
EngineCommand command
Arguments needed by the command
Run over Engine#stack and execute each command
handle all command returns (values)
Get Discord.Channel by id
discord channel id to fetch
Get Discord.Guild by id
discord guild id to fetch
Get Discord.GuildMember by id
discord user id to fetch
Get Discord.User by id
discord user id to fetch
Listen to all Engine#instance.currentChannel events
EngineListenOptions object used to handle and filter incomming discord events
Listen to all Engine#client events
EngineListenOptions object used to handle and filter incomming discord events
Listen to all Engine#instance.currentGuild events
EngineListenOptions object used to handle and filter incomming discord events
Initializes discord instance
Add a call to Engine#stack
EngineCommand command
Arguments needed by the command
Get a list of messages in Engine#instance.currentChannel
ChannelLogsQueryOptions that determines what messages to fetch
Set channel in Engine#instance
discord channel id to select
Set guild in Engine#instance
discord guild id to select
Send a message in Engine#instance.currentChannel
MessageOptions object that defines the discord message
Get a list of channels Engine#instance.currentGuild has
string to match name of the channels
Get a list of guilds Engine#client exists in
string to match name of the guilds
Get a list of members Engine#instance.currentGuild has
string to match name of the username#0000
Update Engine#client (bot instance) discord presence
new overwriting precense
Generated using TypeDoc
discordquery engine class