mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-08 23:07:54 +00:00
Merge branch 'main' into banner_privacy
This commit is contained in:
commit
a793c6ea52
10 changed files with 52 additions and 5 deletions
|
|
@ -31,5 +31,6 @@ public class MessageContext
|
|||
public int? LatchTimeout { get; }
|
||||
public bool CaseSensitiveProxyTags { get; }
|
||||
public bool ProxyErrorMessageEnabled { get; }
|
||||
public bool ProxySwitch { get; }
|
||||
public bool DenyBotUsage { get; }
|
||||
}
|
||||
|
|
@ -9,6 +9,7 @@
|
|||
latch_timeout integer,
|
||||
case_sensitive_proxy_tags bool,
|
||||
proxy_error_message_enabled bool,
|
||||
proxy_switch bool,
|
||||
|
||||
tag_enabled bool,
|
||||
proxy_enabled bool,
|
||||
|
|
@ -40,6 +41,7 @@ as $$
|
|||
system_config.latch_timeout as latch_timeout,
|
||||
system_config.case_sensitive_proxy_tags as case_sensitive_proxy_tags,
|
||||
system_config.proxy_error_message_enabled as proxy_error_message_enabled,
|
||||
system_config.proxy_switch as proxy_switch,
|
||||
|
||||
-- system_guild table
|
||||
coalesce(system_guild.tag_enabled, true) as tag_enabled,
|
||||
|
|
|
|||
6
PluralKit.Core/Database/Migrations/45.sql
Normal file
6
PluralKit.Core/Database/Migrations/45.sql
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
-- database version 45
|
||||
-- add new config setting "proxy_switch"
|
||||
|
||||
alter table system_config add column proxy_switch bool default false;
|
||||
|
||||
update info set schema_version = 45;
|
||||
Loading…
Add table
Add a link
Reference in a new issue