mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-06 13:57:54 +00:00
feat: add more options for when to make proxied messages silent
This commit is contained in:
parent
952bb02285
commit
546a287c28
9 changed files with 71 additions and 14 deletions
|
|
@ -27,7 +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,
|
||||
suppress_notifications int,
|
||||
|
||||
deny_bot_usage bool
|
||||
)
|
||||
|
|
@ -68,7 +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,
|
||||
coalesce(servers.suppress_notifications, 0) 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