mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 00:06:42 +02:00
Fix lint
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
const { Structures } = require('discord.js');
|
||||
|
||||
module.exports = Structures.extend('Message', Message => {
|
||||
return class CommandMessage extends Message {
|
||||
constructor(...args) {
|
||||
super(...args);
|
||||
}
|
||||
|
||||
class CommandMessage extends Message {
|
||||
say(content, options) {
|
||||
return this.channel.send(content, options);
|
||||
}
|
||||
@@ -18,4 +14,5 @@ module.exports = Structures.extend('Message', Message => {
|
||||
return this.channel.send(content, { code: lang, ...options });
|
||||
}
|
||||
}
|
||||
return CommandMessage;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user