This commit is contained in:
Erik 2020-08-13 23:47:00 +03:00
parent 1ba51cfa0b
commit bca63dab46

View File

@ -21,7 +21,6 @@ class ProtectionSetting extends Setting {
default: { default: {
protection: { protection: {
type: 'position', type: 'position',
enabled: false,
roles: [] roles: []
} }
}, },
@ -102,10 +101,6 @@ class ProtectionSetting extends Setting {
const roles = setting?.roles ? await Promise.all(setting.roles.map(async (role) => guild.resolveRole(role))) : undefined; const roles = setting?.roles ? await Promise.all(setting.roles.map(async (role) => guild.resolveRole(role))) : undefined;
return [ return [
{ {
name: '》Enabled',
value: setting.enabled,
inline: true
}, {
name: '》Type', name: '》Type',
value: setting.type, value: setting.type,
inline: true inline: true