mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-22 01:57:54 +02:00
Remove nsfw/useless commands, refactor stuff
This commit is contained in:
+2
-4
@@ -1,6 +1,6 @@
|
||||
const { ArgumentType } = require('discord.js-commando');
|
||||
|
||||
class ImageArgumentType extends ArgumentType {
|
||||
module.exports = class ImageArgumentType extends ArgumentType {
|
||||
constructor(client) {
|
||||
super(client, 'image');
|
||||
}
|
||||
@@ -19,6 +19,4 @@ class ImageArgumentType extends ArgumentType {
|
||||
isEmpty(value, msg) {
|
||||
return msg.attachments.size === 0;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ImageArgumentType;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user