clean up
This commit is contained in:
parent
1ba51cfa0b
commit
bca63dab46
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user