Move groups around

This commit is contained in:
Daniel Odendahl Jr
2017-11-03 17:45:45 +00:00
parent 4e057cf9b5
commit ab2d75c3a6
19 changed files with 21 additions and 20 deletions
+2 -1
View File
@@ -15,10 +15,11 @@ client.registry
.registerTypesIn(path.join(__dirname, 'types'))
.registerGroups([
['util', 'Utility'],
['guild-info', 'Server Information'],
['info', 'Discord Information'],
['moderation', 'Moderation'],
['random-res', 'Random Response'],
['single-res', 'Single Response'],
['events', 'Daily Events'],
['image-edit', 'Image Manipulation'],
['avatar-edit', 'Avatar Manipulation'],
['text-edit', 'Text Manipulation'],
@@ -8,7 +8,7 @@ module.exports = class AstronomyPictureOfTheDayCommand extends Command {
super(client, {
name: 'astronomy-picture-of-the-day',
aliases: ['nasa-apod', 'apod', 'nasa-astronomy-picture-of-the-day'],
group: 'other',
group: 'events',
memberName: 'astronomy-picture-of-the-day',
description: 'Responds with today\'s Astronomy Picture of the Day.',
clientPermissions: ['ATTACH_FILES']
@@ -5,7 +5,7 @@ module.exports = class DaysUntilCommand extends Command {
super(client, {
name: 'days-until',
aliases: ['days-until-christmas'],
group: 'other',
group: 'events',
memberName: 'days-until',
description: 'Responds with how many days until a certain date this year.',
args: [
@@ -5,7 +5,7 @@ module.exports = class GoogleDoodleCommand extends Command {
constructor(client) {
super(client, {
name: 'google-doodle',
group: 'other',
group: 'events',
memberName: 'google-doodle',
description: 'Responds with a Google doodle, either the latest or a random one from a specific month/year.',
clientPermissions: ['ATTACH_FILES'],
@@ -8,7 +8,7 @@ module.exports = class HoroscopeCommand extends Command {
constructor(client) {
super(client, {
name: 'horoscope',
group: 'other',
group: 'events',
memberName: 'horoscope',
description: 'Responds with today\'s horoscope for a particular sign.',
details: `**Signs**: ${signs.join(', ')}`,
@@ -8,7 +8,7 @@ module.exports = class WordOfTheDayCommand extends Command {
super(client, {
name: 'word-of-the-day',
aliases: ['wordnik-word-of-the-day'],
group: 'other',
group: 'events',
memberName: 'word-of-the-day',
description: 'Gets the word of the day.'
});
@@ -7,7 +7,7 @@ module.exports = class XKCDCommand extends Command {
super(client, {
name: 'xkcd',
aliases: ['kcd'],
group: 'other',
group: 'events',
memberName: 'xkcd',
description: 'Gets an XKCD Comic, optionally opting for today\'s or a specific number.',
clientPermissions: ['EMBED_LINKS'],
@@ -16,7 +16,7 @@ module.exports = class XKCDCommand extends Command {
key: 'type',
prompt: 'Please enter either a specific comic number, today, or random.',
type: 'string',
default: 'random',
default: 'today',
parse: type => type.toLowerCase()
}
]
@@ -6,7 +6,7 @@ module.exports = class AvatarCommand extends Command {
super(client, {
name: 'avatar',
aliases: ['profile-picture', 'profile-pic'],
group: 'other',
group: 'info',
memberName: 'avatar',
description: 'Responds with a user\'s avatar.',
clientPermissions: ['ATTACH_FILES'],
@@ -14,7 +14,7 @@ module.exports = class ChannelInfoCommand extends Command {
super(client, {
name: 'channel-info',
aliases: ['channel'],
group: 'guild-info',
group: 'info',
memberName: 'channel-info',
description: 'Responds with detailed information on a channel.',
guildOnly: true,
@@ -6,7 +6,7 @@ module.exports = class DiscriminatorCommand extends Command {
super(client, {
name: 'discriminator',
aliases: ['discrim', 'search-discrim', 'search-discriminator'],
group: 'other',
group: 'info',
memberName: 'discriminator',
description: 'Searches for other users with a certain discriminator.',
args: [
@@ -5,7 +5,7 @@ module.exports = class EmojiImageCommand extends Command {
super(client, {
name: 'emoji-image',
aliases: ['bigify-emoji', 'emoji-url', 'big-emoji'],
group: 'other',
group: 'info',
memberName: 'emoji-image',
description: 'Responds with an emoji\'s full-scale image.',
guildOnly: true,
@@ -6,7 +6,7 @@ module.exports = class EmojiInfoCommand extends Command {
super(client, {
name: 'emoji-info',
aliases: ['emoji'],
group: 'guild-info',
group: 'info',
memberName: 'emoji-info',
description: 'Responds with detailed information on an emoji.',
guildOnly: true,
@@ -5,7 +5,7 @@ module.exports = class EmojiListCommand extends Command {
super(client, {
name: 'emoji-list',
aliases: ['emojis'],
group: 'guild-info',
group: 'info',
memberName: 'emoji-list',
description: 'Responds with a list of the server\'s custom emoji.',
guildOnly: true
@@ -7,7 +7,7 @@ module.exports = class RoleInfoCommand extends Command {
super(client, {
name: 'role-info',
aliases: ['role'],
group: 'guild-info',
group: 'info',
memberName: 'role-info',
description: 'Responds with detailed information on a role.',
guildOnly: true,
@@ -8,7 +8,7 @@ module.exports = class ServerInfoCommand extends Command {
super(client, {
name: 'server-info',
aliases: ['guild', 'server', 'guild-info'],
group: 'guild-info',
group: 'info',
memberName: 'server-info',
description: 'Responds with detailed information on the server.',
guildOnly: true,
@@ -6,7 +6,7 @@ module.exports = class UserInfoCommand extends Command {
super(client, {
name: 'user-info',
aliases: ['user', 'member', 'member-info'],
group: 'guild-info',
group: 'info',
memberName: 'user-info',
description: 'Responds with detailed information on a user.',
guildOnly: true,
@@ -6,7 +6,7 @@ module.exports = class GoogleAutofillCommand extends Command {
super(client, {
name: 'google-autofill',
aliases: ['google-autocomplete', 'autofill', 'autocomplete'],
group: 'other',
group: 'search',
memberName: 'google-autofill',
description: 'Gets a list of Google Autofill results for a particular query.',
args: [
@@ -13,7 +13,7 @@ module.exports = class TableflipCommand extends Command {
super(client, {
name: 'tableflip',
aliases: ['a-tableflip', 'animated-tableflip', 'tableflip-animated', 'tableflip-a'],
group: 'other',
group: 'single-res',
memberName: 'tableflip',
description: 'Flips a table... With animation!'
});
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiaobot",
"version": "51.3.2",
"version": "51.3.3",
"description": "Your personal server companion.",
"main": "XiaoBot.js",
"scripts": {