Skip to content

DiscordEmbed class ​

No description available

Functions ​

mnscript
DiscordEmbed.AddField(string, string, bool) 
  • Sets the title for the Embed.
mnscript
StringResult DiscordEmbed.Post(string) 
  • Posts the embed to the Discord bot.
mnscript
StringResult DiscordEmbed.PostCG() 
  • Posts the embed to the CG Discord MNScript channel. (Can only be used from Maxnet Servers)
mnscript
StringResult DiscordEmbed.PostWithSecret(Secret) 
  • Posts the embed to the Discord bot using a Secret.
mnscript
DiscordEmbed.SetColor(Color) 
  • Sets the color for the Embed.
mnscript
DiscordEmbed.SetTimestamp(bool) 
  • Sets whether to put a Timestamp for the Embed.
mnscript
DiscordEmbed.SetTitle(string) 
  • Sets the title for the Embed.