Ask butlerbot to tell a joke to the channel.
Returns:
string -- joke (as a message to discord text channel)
Members
-
inner jokeApi :string
-
-
inner res :string
-
Methods
-
inner execute(message) → {string}
-
Parameters:
Name Type Description message
string command, used to determine which channel to return results
Returns:
string -results of advice api call
-
async, inner jokeApiCall(joke) → {Object}
web location to perform api call against for joke
-
Parameters:
Name Type Description joke
string joke api url
Returns:
Object -response