mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 14:19:11 +02:00
Guard All Util Commands
This commit is contained in:
@@ -12,7 +12,8 @@ module.exports = class InfoCommand extends Command {
|
||||
aliases: ['information', 'stats'],
|
||||
group: 'util',
|
||||
memberName: 'info',
|
||||
description: 'Gives some bot info.'
|
||||
description: 'Gives some bot info.',
|
||||
guarded: true
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -7,7 +7,8 @@ module.exports = class InviteCommand extends Command {
|
||||
name: 'invite',
|
||||
group: 'util',
|
||||
memberName: 'invite',
|
||||
description: 'Sends you an invite for the bot and an invite to my server.'
|
||||
description: 'Sends you an invite for the bot and an invite to my server.',
|
||||
guarded: true
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ module.exports = class ShardInfoCommand extends Command {
|
||||
group: 'util',
|
||||
memberName: 'shard-info',
|
||||
description: 'Gives some bot info for the Shard you specify.',
|
||||
guarded: true,
|
||||
args: [
|
||||
{
|
||||
key: 'shard',
|
||||
|
||||
@@ -8,7 +8,8 @@ module.exports = class UptimeCommand extends Command {
|
||||
name: 'uptime',
|
||||
group: 'util',
|
||||
memberName: 'uptime',
|
||||
description: 'Displays how long the bot has been active on this shard.'
|
||||
description: 'Displays how long the bot has been active on this shard.',
|
||||
guarded: true
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user