-
Notifications
You must be signed in to change notification settings - Fork 4
Scripting
shedaniel edited this page Jul 3, 2020
·
14 revisions
Linkie uses PESL for scripting, it looks like js, sounds like js, and even tastes like js!
-
message
: Message << The message triggering this evaluation -
channel
: Channel << The channel that the message is in
-
delete()
: Undefined << Deletes the message -
author
: User / Undefined << Author of the message, undefined if the author no longer exists -
content
: String -
edit(content)
: Message << Edits the message and returns the new message -
editAsEmbed(title, content)
: Message << Edits the message as embed and returns the new message -
editAsEmbed(content)
: Message << Edits the message as embed and returns the new message
-
sendEmbed(title, content)
: Message << Send an embedded message and returns the new message -
sendEmbed(content)
: Message << Send an embedded message and returns the new message -
sendMessage(content)
: Message << Send a message and returns the new message -
id
: String << The id of the channel -
mention
: String << A mention of the channel
-
username
: String << The username of the user -
discriminator
: String << The discriminator of the user -
discriminatedName
: String << The discriminatedName of the user, for example, ApplePie#9999 -
mention
: String << A mention of the user -
id
: String << The id of the user -
isBot
: Boolean