Have butlerbot get a random dog image from the internet.
Returns:
Object -- string (as a message to discord text channel)
Members
-
inner dogApi :string
dog image api url
-
Methods
-
async, inner dogApiCall(api) → {Object}
perform api call against provided url for advice
-
Parameters:
Name Type Description api
string dog image 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 dog api call