move to info cat

This commit is contained in:
Erik 2020-06-20 00:02:16 +03:00
parent a3cbe75fed
commit 1384860bd5
2 changed files with 8 additions and 5 deletions

View File

@ -1,4 +1,4 @@
const { Command } = require('../../../../interfaces/'); const { Command } = require('../../../../interfaces');
class GuildCommand extends Command { class GuildCommand extends Command {
@ -6,7 +6,7 @@ class GuildCommand extends Command {
super(client, { super(client, {
name: 'guild', name: 'guild',
module: 'utility', module: 'information',
aliases: [ aliases: [
'server' 'server'
] ]
@ -40,7 +40,10 @@ class GuildCommand extends Command {
id: guild.id, id: guild.id,
name: guild.name, name: guild.name,
region: guild.region, region: guild.region,
members: guild.memberCount members: guild.memberCount,
boosters: guild.premiumSubscriptionCount,
tier: guild.premiumTier,
shard: guild.shardID
}), }),
thumbnail: { thumbnail: {
url: guild.iconURL() url: guild.iconURL()

View File

@ -1,4 +1,4 @@
const { Command } = require('../../../../interfaces/'); const { Command } = require('../../../../interfaces');
const similarity = require('similarity'); const similarity = require('similarity');
class UserCommand extends Command { class UserCommand extends Command {
@ -7,7 +7,7 @@ class UserCommand extends Command {
super(client, { super(client, {
name: 'user', name: 'user',
module: 'utility', module: 'information',
description: 'Display information about user.', description: 'Display information about user.',
guildOnly: true, guildOnly: true,
arguments: [ arguments: [