mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-20 14:00:22 +02:00
Remove useless aliases, bug fixes
This commit is contained in:
@@ -3,13 +3,13 @@ const path = require('path');
|
||||
const { list } = require('../../util/Util');
|
||||
const types = ['default', 'moth'];
|
||||
|
||||
module.exports = class DarkThemeLightThemeCommand extends Command {
|
||||
module.exports = class DarkLightCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'dark-theme-light-theme',
|
||||
aliases: ['light-theme-dark-theme', 'dark-theme', 'light-theme', 'dark-light', 'dtlt'],
|
||||
name: 'dark-light',
|
||||
aliases: ['dark-theme-light-theme', 'light-theme-dark-theme', 'dark-theme', 'light-theme', 'dtlt'],
|
||||
group: 'single',
|
||||
memberName: 'dark-theme-light-theme',
|
||||
memberName: 'dark-light',
|
||||
description: 'Determines whether you use dark or light theme.',
|
||||
details: `**Types:** ${types.join(', ')}`,
|
||||
clientPermissions: ['ATTACH_FILES'],
|
||||
@@ -28,7 +28,7 @@ module.exports = class DarkThemeLightThemeCommand extends Command {
|
||||
|
||||
run(msg, { type }) {
|
||||
return msg.say({
|
||||
files: [path.join(__dirname, '..', '..', 'assets', 'images', 'dark-theme-light-theme', `${type}.png`)]
|
||||
files: [path.join(__dirname, '..', '..', 'assets', 'images', 'dark-light', `${type}.png`)]
|
||||
});
|
||||
}
|
||||
};
|
||||
@@ -5,6 +5,7 @@ module.exports = class EatPantCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'eat-pant',
|
||||
aliases: ['bort-sampson'],
|
||||
group: 'single',
|
||||
memberName: 'eat-pant',
|
||||
description: 'Eat pant.',
|
||||
|
||||
@@ -7,7 +7,6 @@ module.exports = class FlyCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'fly',
|
||||
aliases: ['fly-prank'],
|
||||
group: 'single',
|
||||
memberName: 'fly',
|
||||
description: 'Sends a fake fly that looks surprisngly real.',
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const path = require('path');
|
||||
|
||||
module.exports = class NomCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'nom',
|
||||
aliases: ['kanna-crab'],
|
||||
group: 'single',
|
||||
memberName: 'nom',
|
||||
description: 'Posts a GIF of Kanna eating a crab.',
|
||||
clientPermissions: ['ATTACH_FILES']
|
||||
});
|
||||
}
|
||||
|
||||
run(msg) {
|
||||
return msg.say({ files: [path.join(__dirname, '..', '..', 'assets', 'images', 'nom.gif')] });
|
||||
}
|
||||
};
|
||||
@@ -1,19 +0,0 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const path = require('path');
|
||||
|
||||
module.exports = class SourceCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'source',
|
||||
aliases: ['sauce'],
|
||||
group: 'single',
|
||||
memberName: 'source',
|
||||
description: 'Hello! Can you give me the source?',
|
||||
clientPermissions: ['ATTACH_FILES']
|
||||
});
|
||||
}
|
||||
|
||||
run(msg) {
|
||||
return msg.say({ files: [path.join(__dirname, '..', '..', 'assets', 'images', 'source.png')] });
|
||||
}
|
||||
};
|
||||
@@ -12,7 +12,7 @@ module.exports = class TableflipCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'tableflip',
|
||||
aliases: ['a-tableflip', 'animated-tableflip', 'tableflip-animated', 'tableflip-a'],
|
||||
aliases: ['a-tableflip', 'animated-tableflip'],
|
||||
group: 'single',
|
||||
memberName: 'tableflip',
|
||||
description: 'Flips a table... With animation!'
|
||||
|
||||
Reference in New Issue
Block a user