fix undefined return value

This commit is contained in:
Erik 2020-09-30 19:24:38 +03:00
parent cae035ba67
commit ba00ccad28

View File

@ -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);
}