Ask butlerbot for sagely advice.
Returns:
string -- advice (as a message to discord text channel)
Members
-
inner adviceApi :string
apology api url
-
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 getAdvice(adviceApi) → {Object}
web location to perform api call against for advice
-
Parameters:
Name Type Description adviceApi
string apology api url
Returns:
Object -response