mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 22:32:52 +02:00
Remove useless aliases, bug fixes
This commit is contained in:
@@ -5,7 +5,7 @@ module.exports = class AvatarCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'avatar',
|
||||
aliases: ['profile-picture', 'profile-pic'],
|
||||
aliases: ['profile-picture', 'profile-pic', 'pfp'],
|
||||
group: 'info',
|
||||
memberName: 'avatar',
|
||||
description: 'Responds with a user\'s avatar.',
|
||||
|
||||
@@ -10,11 +10,11 @@ const types = {
|
||||
unknown: 'Unknown'
|
||||
};
|
||||
|
||||
module.exports = class ChannelInfoCommand extends Command {
|
||||
module.exports = class ChannelCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'channel-info',
|
||||
aliases: ['channel'],
|
||||
name: 'channel',
|
||||
aliases: ['channel-info'],
|
||||
group: 'info',
|
||||
memberName: 'channel',
|
||||
description: 'Responds with detailed information on a channel.',
|
||||
|
||||
@@ -4,7 +4,7 @@ module.exports = class EmojiImageCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'emoji-image',
|
||||
aliases: ['bigify-emoji', 'emoji-url', 'big-emoji', 'emote-image', 'bigify-emote', 'emote-url', 'big-emote'],
|
||||
aliases: ['big-emoji', 'emote-image', 'big-emote'],
|
||||
group: 'info',
|
||||
memberName: 'emoji-image',
|
||||
description: 'Responds with an emoji\'s full-scale image.',
|
||||
|
||||
@@ -2,11 +2,11 @@ const Command = require('../../structures/Command');
|
||||
const moment = require('moment');
|
||||
const { MessageEmbed } = require('discord.js');
|
||||
|
||||
module.exports = class EmojiInfoCommand extends Command {
|
||||
module.exports = class EmojiCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'emoji-info',
|
||||
aliases: ['emoji', 'emote'],
|
||||
name: 'emoji',
|
||||
aliases: ['emoji-info', 'emote'],
|
||||
group: 'info',
|
||||
memberName: 'emoji',
|
||||
description: 'Responds with detailed information on an emoji.',
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const { MessageEmbed } = require('discord.js');
|
||||
|
||||
module.exports = class MessageInfoCommand extends Command {
|
||||
module.exports = class MessageCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'message-info',
|
||||
aliases: ['message', 'msg', 'msg-info', 'reply'],
|
||||
name: 'message',
|
||||
aliases: ['message-info', 'msg', 'msg-info', 'reply'],
|
||||
group: 'info',
|
||||
memberName: 'message',
|
||||
description: 'Responds with detailed information on a message.',
|
||||
|
||||
@@ -3,11 +3,11 @@ const moment = require('moment');
|
||||
const { MessageEmbed } = require('discord.js');
|
||||
const { util: { permissions } } = require('discord.js-commando');
|
||||
|
||||
module.exports = class RoleInfoCommand extends Command {
|
||||
module.exports = class RoleCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'role-info',
|
||||
aliases: ['role'],
|
||||
name: 'role',
|
||||
aliases: ['role-info'],
|
||||
group: 'info',
|
||||
memberName: 'role',
|
||||
description: 'Responds with detailed information on a role.',
|
||||
|
||||
@@ -4,11 +4,11 @@ const { MessageEmbed } = require('discord.js');
|
||||
const filterLevels = ['Off', 'No Role', 'Everyone'];
|
||||
const verificationLevels = ['None', 'Low', 'Medium', '(╯°□°)╯︵ ┻━┻', '┻━┻ ミヽ(ಠ益ಠ)ノ彡┻━┻'];
|
||||
|
||||
module.exports = class ServerInfoCommand extends Command {
|
||||
module.exports = class ServerCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'server-info',
|
||||
aliases: ['guild', 'server', 'guild-info'],
|
||||
name: 'server',
|
||||
aliases: ['guild', 'server-info', 'guild-info'],
|
||||
group: 'info',
|
||||
memberName: 'server',
|
||||
description: 'Responds with detailed information on the server.',
|
||||
|
||||
@@ -9,11 +9,11 @@ const activities = {
|
||||
LISTENING: 'Listening to'
|
||||
};
|
||||
|
||||
module.exports = class UserInfoCommand extends Command {
|
||||
module.exports = class UserCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'user-info',
|
||||
aliases: ['user', 'member', 'member-info'],
|
||||
name: 'user',
|
||||
aliases: ['user-info', 'member', 'member-info'],
|
||||
group: 'info',
|
||||
memberName: 'user',
|
||||
description: 'Responds with detailed information on a user.',
|
||||
|
||||
Reference in New Issue
Block a user