Ask butlerbot to send an apology on your behalf.
Returns:
string -- apology message (as a message to discord text channel)
Members
-
inner apology :string
randomly selected an apology from the list of apologyMessages
-
-
inner apologyMessages :Array.<string>
list of pre-generated apology messages
-
Methods
-
inner execute(message, args) → {string}
-
Parameters:
Name Type Description message
string command, used to determine which channel to return results
args
string recipient of apology message sent to channel; required
Returns:
string -selected apology with correct formatting and recipient
-
inner getApology() → {Object}
selection of random apology from list
-
Returns:
Object -apology