From 43428f8a747f1b3e6b2a3418173910ce3ff1866c Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Wed, 16 Feb 2022 17:40:02 -0500 Subject: feat: start testing perspectiveApi, and fix checkScamMentions --- src/lib/models/instance/Guild.ts | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'src/lib/models/instance') diff --git a/src/lib/models/instance/Guild.ts b/src/lib/models/instance/Guild.ts index 4d7f208..cdf3552 100644 --- a/src/lib/models/instance/Guild.ts +++ b/src/lib/models/instance/Guild.ts @@ -342,11 +342,12 @@ export const guildFeaturesObj = asGuildFeature({ default: false }, // todo implement a better auto thread system - // autoThread: { - // name: 'Auto Thread', - // description: 'Creates a new thread for messages in configured channels.', - // default: false - // }, + autoThread: { + name: 'Auto Thread', + description: 'Creates a new thread for messages in configured channels.', + default: false, + notConfigurable: true + }, blacklistedFile: { name: 'Blacklisted File', description: 'Automatically deletes malicious files.', @@ -392,6 +393,12 @@ export const guildFeaturesObj = asGuildFeature({ description: 'Allow users to appeal their punishments and send the appeal to the configured channel.', default: false, notConfigurable: true + }, + perspectiveApi: { + name: 'Perspective API', + description: 'Use the Perspective API to detect toxicity.', + default: false, + notConfigurable: true } }); -- cgit