reorganise some settings

This commit is contained in:
Erik 2021-05-08 20:42:30 +03:00
parent ca1ebcfabb
commit 03ebe62f04
No known key found for this signature in database
GPG Key ID: 7E862371D3409F16
9 changed files with 16 additions and 16 deletions

View File

@ -1,4 +1,4 @@
const { Setting } = require('../../../../interfaces/');
const { Setting } = require('../../../../interfaces');
class ProtectionSetting extends Setting {
@ -6,7 +6,7 @@ class ProtectionSetting extends Setting {
super(client, {
name: 'protection',
module: 'moderation',
module: 'administration',
usage: "<'type'|'add'|'remove'> <'role'|'position'|role..>",
examples: [
'protection type <role|position>',

View File

@ -1,11 +1,11 @@
const { Setting } = require('../../../../interfaces/');
const { Setting } = require('../../../../interfaces');
class SilentSetting extends Setting {
constructor(client) {
super(client, {
name: 'silent',
module: 'moderation',
module: 'administration',
usage: "<'on'|'off'>",
resolve: 'GUILD',
default: {

View File

@ -1,4 +1,4 @@
const { Setting } = require('../../../../interfaces/');
const { Setting } = require('../../../../interfaces');
const Constants = {
Infractions: [
@ -27,7 +27,7 @@ class DmInfractionSetting extends Setting {
super(client, {
name: 'dmInfraction',
module: 'moderation',
module: 'logging',
aliases: [
'directMessageInfraction',
'privateLog',

View File

@ -1,4 +1,4 @@
const { Setting } = require('../../../../interfaces/');
const { Setting } = require('../../../../interfaces');
class MemberLogsSetting extends Setting {
@ -6,7 +6,7 @@ class MemberLogsSetting extends Setting {
super(client, {
name: 'memberLog',
module: 'moderation',
module: 'logging',
aliases: [
'memberLogs',
'joinLogs',

View File

@ -6,7 +6,7 @@ class MessageLogsSetting extends Setting {
super(client, {
name: 'messageLog',
module: 'moderation',
module: 'logging',
clientPermissions: ['MANAGE_WEBHOOKS'],
aliases: [
'chatLog',

View File

@ -1,4 +1,4 @@
const { Setting } = require('../../../../interfaces/');
const { Setting } = require('../../../../interfaces');
const { InfractionResolves } = require('../../../../../util/Constants.js');
class ModerationLogsSetting extends Setting {
@ -7,7 +7,7 @@ class ModerationLogsSetting extends Setting {
super(client, {
name: 'moderationLog',
module: 'moderation',
module: 'logging',
aliases: [
'moderationLogs',
'modLog',

View File

@ -1,4 +1,4 @@
const { Setting } = require('../../../../interfaces/');
const { Setting } = require('../../../../interfaces');
class NicknameLogs extends Setting {
@ -6,7 +6,7 @@ class NicknameLogs extends Setting {
super(client, {
name: 'nicknameLog',
module: 'moderation',
module: 'logging',
aliases: [
'nicknameLogs',
'nickLog',

View File

@ -1,4 +1,4 @@
const { Setting } = require('../../../../interfaces/');
const { Setting } = require('../../../../interfaces');
class VoiceLogSettings extends Setting {
@ -6,7 +6,7 @@ class VoiceLogSettings extends Setting {
super(client, {
name: 'voiceLog',
module: 'moderation',
module: 'logging',
aliases: [
'vcLog',
'vcLogs',

View File

@ -7,7 +7,7 @@ module.exports = class InviteFilter extends FilterSetting {
super(client, {
name: 'inviteFilter',
module: 'moderation',
aliases: [],
aliases: ['invfilter'],
resolve: 'GUILD',
usage: '<option> <method> <value..>',
examples: [