$unpinMessage

Unpins a pinned message from the channel.

Syntax

$unpinMessage[Channel ID;Message ID]

Parameters

  • Channel ID : The channel where the message is located.
  • Message ID : 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