Skip to content

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!

Contexts via !eval

  • message: Message << The message triggering this evaluation
  • channel: Channel << The channel that the message is in

Message

  • delete(): Function << Deletes the message
  • author: User << Author of the message
  • 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
Clone this wiki locally