BuildcordDocs

Pin a message

Pin or unpin any message.

message.pin pins a message, or unpins it.

Settings

SettingWhat it does
MessageWhich message, by its link or ID. See Naming a message.
Without one namedThe bot's reply (the message this flow last sent) or The triggering message.
Unpin it insteadTakes the pin away.

Ways out

out.

Notes

  • A channel can hold a limited number of pins. Discord refuses when it's full, so turn on If it fails if that could happen.
  • The bot needs the Manage Messages permission.

On this page