$unpinMessage

Unpins a pinned message from the channel.

Syntax

$unpinMessage[Channel ID;Message ID]

Parameters

  • Channel ID (Type: Snowflake || Flag: Required): The channel where the message is located.
  • Message ID (Type: Snowflake || Flag: Required): The ID of the message to unpin.

Permissions

Required permissions that the bot must have for this function to work properly :

  • managemessages

Example

$nomention
$unpinMessage[$mentionedChannels[1];$noMentionMessage]
A message has been unpinned!

Screenshot_20220925_163311
InShot_20220925_163609635