aboutsummaryrefslogtreecommitdiff
path: root/src/lib/models/instance
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-14 20:54:55 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-14 20:54:55 -0500
commitde86c77eff4c2dfd5421c9a14a8f88cbac7abd18 (patch)
tree6e9893c4942368398a057acc448ad5e528b5990d /src/lib/models/instance
parent861273b180f97110fd9aaad0036f29cda0e20015 (diff)
downloadtanzanite-de86c77eff4c2dfd5421c9a14a8f88cbac7abd18.tar.gz
tanzanite-de86c77eff4c2dfd5421c9a14a8f88cbac7abd18.tar.bz2
tanzanite-de86c77eff4c2dfd5421c9a14a8f88cbac7abd18.zip
fix: disable appeals for now
Diffstat (limited to 'src/lib/models/instance')
-rw-r--r--src/lib/models/instance/Guild.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/models/instance/Guild.ts b/src/lib/models/instance/Guild.ts
index b81562c..4d7f208 100644
--- a/src/lib/models/instance/Guild.ts
+++ b/src/lib/models/instance/Guild.ts
@@ -311,6 +311,7 @@ interface GuildFeature {
name: string;
description: string;
default: boolean;
+ notConfigurable?: boolean;
}
const asGuildFeature = <T>(gf: { [K in keyof T]: GuildFeature }) => gf;
@@ -389,7 +390,8 @@ export const guildFeaturesObj = asGuildFeature({
punishmentAppeals: {
name: 'Punishment Appeals',
description: 'Allow users to appeal their punishments and send the appeal to the configured channel.',
- default: false
+ default: false,
+ notConfigurable: true
}
});
@@ -412,7 +414,7 @@ export const guildLogsObj = {
},
appeals: {
description: 'Where punishment appeals are sent.',
- configurable: true
+ configurable: false
}
};