mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
feat(bot): remove hacky fix for extremely slow system deletes
they are no longer extremely slow
This commit is contained in:
parent
ba9c074dc2
commit
7cb3a3ea0f
4 changed files with 0 additions and 17 deletions
|
|
@ -1,7 +1,6 @@
|
|||
create function message_context(account_id bigint, guild_id bigint, channel_id bigint)
|
||||
returns table (
|
||||
system_id int,
|
||||
is_deleting bool,
|
||||
log_channel bigint,
|
||||
in_blacklist bool,
|
||||
in_log_blacklist bool,
|
||||
|
|
@ -28,7 +27,6 @@ as $$
|
|||
guild as (select * from servers where id = guild_id)
|
||||
select
|
||||
system.id as system_id,
|
||||
system.is_deleting,
|
||||
guild.log_channel,
|
||||
(channel_id = any (guild.blacklist)) as in_blacklist,
|
||||
(channel_id = any (guild.log_blacklist)) as in_log_blacklist,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue