mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 06:42:50 +02:00
Fix
This commit is contained in:
@@ -13,6 +13,10 @@ module.exports = Structures.extend('Message', Message => {
|
|||||||
code(lang, content, options) {
|
code(lang, content, options) {
|
||||||
return this.channel.send(content, { code: lang, ...options });
|
return this.channel.send(content, { code: lang, ...options });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
direct(content, options) {
|
||||||
|
return this.author.send(content, options);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return CommandMessage;
|
return CommandMessage;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user