Expand description
Messages and reactions. Every call is an ordinary command on the bot’s member, checked by the host’s permission engine exactly as for any member.
Functions§
- delete
message.delete.- dm
- A direct message to member
member-id(capabilitydms): opens the DM when needed, then sends. Returns the DM’s channel id and the message id. - edit
message.editof one of the bot’s messages.- history
message.history: up tolimit(1-100) messages beforebefore.- react
reaction.add.- send
message.send. Returns the new message id.- unreact
reaction.removeof the bot’s own reaction.- upload
- Uploads a file for the bot’s next message (capability
attachments). Returns the attachment id to put inmessage-body.attachments.