cat

Have butlerbot get a random photo of a cat from the internet.

Returns:
Object -
  • image (as a message to discord text channel)

Members

inner catApi :string

cat image api url

Methods

async, inner catImage(api) → {Object}

perform api call against provided url for advice

Parameters:
Name Type Description
api string

apology api url

Returns:
Object -

response

inner execute(message) → {string}

Parameters:
Name Type Description
message string

command, used to determine which channel to return results

Returns:
string -

results of cat api call