butlerbot

Have butlerbot provide an embedded message with some funny information/helpful links.

Returns:
string -
  • embedded message to discord text channel

Members

inner addFields :Array.<string>

inner author :Array.<string>

inner color :string

inner description :string

inner, constant embed

embedded message object

inner footer :string

inner image :string

inner thumbnail :string

inner title :string

inner url :string

Methods

inner embedMessage(color, title, url, author, description, thumbnail, image, footer) → {Object}

create and generate the embedded message

Parameters:
Name Type Description
color string

color hex code for background of embed image

title string

title of the embedded message

url string

link when title is clicked

author string

embedded message author, author image, and link when author is clicked

description string

text below title to described embedded message

thumbnail string

thumbnail image

image string

upper right corner image

footer string

display at end of embedded message

Returns:
Object -

embed

inner execute(client, message) → {string}

Parameters:
Name Type Description
client string

discord bot object, allows us to include certain information about the bot itself

message string

command, used to determine which channel to return results

Returns:
string -

embedded message