diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-02-16 17:40:02 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-02-16 17:40:02 -0500 |
commit | 43428f8a747f1b3e6b2a3418173910ce3ff1866c (patch) | |
tree | d1e7892fbd9d5f5881e9f34d3053a9fceb796c1d /src/lib/models | |
parent | b04c2b02c012baba9bbf2b8f3fb1a08c7796d38e (diff) | |
download | tanzanite-43428f8a747f1b3e6b2a3418173910ce3ff1866c.tar.gz tanzanite-43428f8a747f1b3e6b2a3418173910ce3ff1866c.tar.bz2 tanzanite-43428f8a747f1b3e6b2a3418173910ce3ff1866c.zip |
feat: start testing perspectiveApi, and fix checkScamMentions
Diffstat (limited to 'src/lib/models')
-rw-r--r-- | src/lib/models/instance/Guild.ts | 17 |
1 files changed, 12 insertions, 5 deletions
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 } }); |