mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-07 06:17:55 +00:00
feat(bot): server config toggle for @silent proxied messages
This commit is contained in:
parent
2d36b8a7cc
commit
b88c1b7712
12 changed files with 50 additions and 3 deletions
|
|
@ -27,6 +27,7 @@ create function message_context(account_id bigint, guild_id bigint, channel_id b
|
|||
in_log_blacklist bool,
|
||||
log_cleanup_enabled bool,
|
||||
require_system_tag bool,
|
||||
suppress_notifications bool,
|
||||
|
||||
deny_bot_usage bool
|
||||
)
|
||||
|
|
@ -67,6 +68,7 @@ as $$
|
|||
or (thread_id = any (servers.log_blacklist))) as in_log_blacklist,
|
||||
coalesce(servers.log_cleanup_enabled, false) as log_cleanup_enabled,
|
||||
coalesce(servers.require_system_tag, false) as require_system_tag,
|
||||
coalesce(servers.suppress_notifications, false) as suppress_notifications,
|
||||
|
||||
-- abuse_logs table
|
||||
coalesce(abuse_logs.deny_bot_usage, false) as deny_bot_usage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue