mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 08:14:47 +02:00
23
This commit is contained in:
@@ -17,7 +17,7 @@ module.exports = class ClearSettingCommand extends Command {
|
||||
type: 'string',
|
||||
validate: (setting) => {
|
||||
if (settings.includes(setting)) return true;
|
||||
else return `Please enter one of the following: ${settings.join(', ')}.`;
|
||||
else return `Please enter one of the following: ${settings.join(', ')}`;
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -6,7 +6,7 @@ module.exports = class InviteGuardCommand extends Command {
|
||||
name: 'invite-guard',
|
||||
group: 'settings',
|
||||
memberName: 'invite-guard',
|
||||
description: 'Configures auto-delete for invites.',
|
||||
description: 'Turns on auto-deletion of invites.',
|
||||
guildOnly: true,
|
||||
userPermissions: ['ADMINISTRATOR']
|
||||
});
|
||||
|
||||
@@ -6,7 +6,7 @@ module.exports = class MemberLogCommand extends Command {
|
||||
name: 'member-channel',
|
||||
group: 'settings',
|
||||
memberName: 'member-channel',
|
||||
description: 'Sets the channel for the member logs to be sent.',
|
||||
description: 'Sets a channel for member join/leave logs to be sent.',
|
||||
guildOnly: true,
|
||||
userPermissions: ['ADMINISTRATOR'],
|
||||
args: [
|
||||
|
||||
@@ -6,7 +6,7 @@ module.exports = class ModChannelCommand extends Command {
|
||||
name: 'mod-channel',
|
||||
group: 'settings',
|
||||
memberName: 'mod-channel',
|
||||
description: 'Sets the channel for the mod logs to be sent.',
|
||||
description: 'Sets a channel for mod logs to be sent.',
|
||||
guildOnly: true,
|
||||
userPermissions: ['ADMINISTRATOR'],
|
||||
args: [
|
||||
|
||||
@@ -6,7 +6,7 @@ module.exports = class StarboardCommand extends Command {
|
||||
name: 'starboard',
|
||||
group: 'settings',
|
||||
memberName: 'starboard',
|
||||
description: 'Sets the channel for the starboard.',
|
||||
description: 'Sets a channel for the starboard.',
|
||||
guildOnly: true,
|
||||
userPermissions: ['ADMINISTRATOR'],
|
||||
args: [
|
||||
|
||||
Reference in New Issue
Block a user