fix undefined return value
This commit is contained in:
parent
cae035ba67
commit
ba00ccad28
@ -68,7 +68,7 @@ const Message = Structures.extend('Message', (Message) => {
|
||||
async formattedRespond(index, opts = { }) {
|
||||
|
||||
if (!opts.params) opts.params = {};
|
||||
this.respond(this.format(index, opts.params), opts);
|
||||
return this.respond(this.format(index, opts.params), opts);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user