Skip to main content

Module actions

Module actions 

Source
Expand description

Actions performed through the client as the current user.

Functions§

add_reaction
React with a Unicode emoji or a custom emoji in name:id form.
composer_text
The current content of the focused message input.
delete_message
edit_message
insert_composer_text
Insert text at the cursor of the focused message input.
navigate
request_discord
Call Discord’s REST API with the user’s session. The result arrives as event.discord with the returned ID.
send_local_message
Show a message only the current user can see.
send_message
Send a message. Other plugins’ pre-send hooks run on it.

Type Aliases§

DiscordRequest
Navigation
OutgoingMessage
Snowflake