$msg
a compact function with many functionalities!
$msg[channelid;messageid;property]
Usage Supported Properties
author - message author ID
authormention - message author mention
authortag - message author tag
authorname - message author name
authoravatar - message author avatar
channel - message channel id
channelname - message channel name
cleancontent - message content without any mentions removes
@here
,@everyone\
content - message content
created - message created date
guildid - guild id of message
id - message id
isdeleteable - author of the command can delete the message, returns true/false.
isdeleted - message was deleted, returns true/false.
iseditable - author of the command can edit the message, returns true/false.
ispinnable - author of the command can pin the message, returns true/false.
ispinned - message is pinned, returns true/false.
rawcontent - message content without ANY mentions.
guildname - guild name of the message
url - link to the message.
reference - return message id , that was replied to
thread - thread id of that message if exists (undefined otherwise)
pinned - return true if message is pinned
allattachments - return all attachments URLs separated by new line
allattachmentsname - return all attachments names separated by new line
attachment: return attachment URL of message (otherwise undefined), you can specify which attachment by using
additional 1
argumentattachmentname: return attachment name of message (otherwise undefined), you can specify which attachment by using
additional 1
argumentembedtitle - return message's embed title (otherwise undefined), you can specify which embed by using
additional 1
argumentembedcolor - return message's embed color (otherwise undefined), you can specify which embed by using
additional 1
argumentembeddesc - return message's embed description (otherwise undefined), you can specify which embed by using
additional 1
argumentembedauthortext - return message's embed author text (otherwise undefined), you can specify which embed by using
additional 1
argumentembedauthorurl - return message's embed author URL (otherwise undefined), you can specify which embed by using
additional 1
argumentembedauthoricon - return message's embed author ICON (otherwise undefined), you can specify which embed by using
additional 1
argumentembedimage - return message's embed image (otherwise undefined), you can specify which embed by using
additional 1
argumentembedthumbnail - return message's embed thumbnail (otherwise undefined), you can specify which embed by using
additional 1
argumentembedurl - return message's embed title URL (otherwise undefined), you can specify which embed by using
additional 1
argumentembedfields - return message's embed fields like NAME///VALUE///INLINE//////NAME 1///VALUE 1///INLINE 2.. (otherwise undefined), you can specify which embed by using
additional 1
argumentembedfieldname - return message's embed field name (otherwise undefined), you can specify which embed by using
additional 1
argument, you can also specify which field by usingadditional 2
embedfieldvalue - return message's embed field value (otherwise undefined), you can specify which embed by using
additional 1
argument, you can also specify which field by usingadditional 2
embedfieldinline - return message's embed field inline (otherwise undefined), you can specify which embed by using
additional 1
argument, you can also specify which field by usingadditional 2
embedtimestamp - return message's embed timestamp (otherwise undefined), you can specify which embed by using
additional 1
argumentembed - return message's embed in form like
{title:...}
(otherwise empty), you can specify which embed by usingadditional 1
argumentsticker - return the sticker in the message, you can specify which sticker by using
additional 1
argumentstickers - return all the stickers in the message, separated by
,