forked from Galactic/galactic-bot
reorganise some settings
This commit is contained in:
parent
ca1ebcfabb
commit
03ebe62f04
@ -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>',
|
@ -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: {
|
@ -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',
|
@ -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',
|
@ -6,7 +6,7 @@ class MessageLogsSetting extends Setting {
|
||||
|
||||
super(client, {
|
||||
name: 'messageLog',
|
||||
module: 'moderation',
|
||||
module: 'logging',
|
||||
clientPermissions: ['MANAGE_WEBHOOKS'],
|
||||
aliases: [
|
||||
'chatLog',
|
@ -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',
|
@ -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',
|
@ -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',
|
@ -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: [
|
||||
|
Loading…
Reference in New Issue
Block a user