SLCommands
  • SLCommands Documentation
  • Easy Setup & Options Object
  • SLCommands Class Methods
  • Commands & Contexts
    • Ping command example
    • Command methods
    • Subcommands
  • Events & Features
    • How does features and events work?
    • SLCommands Events
  • Utilities
    • SLCommands Embeds
    • Custom Messages
  • Hope you liked!
Powered by GitBook
On this page
  • SLEmbed Methods
  • setSuccess
  • setError
  • setLoading
  1. Utilities

SLCommands Embeds

PreviousSLCommands EventsNextCustom Messages

Last updated 2 years ago

Welcome to the custom embeds! I made them thinking about practicality & style. I hope you enjoy.

You can access them just using:

const { SLEmbed } = require('sl-commands')
import { SLEmbed } from 'sl-commands'

SLEmbed Methods

These are some methods that you might like:

setSuccess

new SLEmbed().setSuccess(
  'This is a success embed!',
  'This is the footer of the embed'
)

setError

new SLEmbed().setError(
  'This is an error embed!',
  'This is the footer of the embed'
)

setLoading

new SLEmbed().setLoading(
  '<- This is a gif',
  'This is the footer of the embed'
)
This is how it looks like after being sent.
This is how it looks like after being sent.
This is how it looks like after being sent.