$latestMessage

Return the latest message content/id in a channel, uses the cache

Usage

$latestMessage[Channel ID (default is $channelID);User ID (default everyone);Return Message ID instead (yes/no, default no)]

Example 1 (Return Latest Content):

Member08/02/2024
!!exec $latestMessage[$channelID]

Custom Command Bot 08/02/2024
Hello World

Example 2 (Return Latest ID):

Member08/02/2024
!!exec $latestMessage[$channelID;everyone;yes]

Custom Command Bot 08/02/2024
1234567890