$authorOfMessage

Returns the ID of the provided message’s author.

Syntax

$authorOfMessage[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 message for which the author ID will be returned.

How to get the Message/Channel ID guide.

Example

$nomention
Author of message: $username[$authorOfMessage[$message[1];$message[2]]]
Message ID: 1135158746369245314 !example 566370477967147018 1135158746369245314 Author of message: Kemi