mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
feat(irc): support optional bot mode (#1246)
* feat(irc): set bot mode when the server supports it See https://ircv3.net/specs/extensions/bot-mode. * feat(irc): add a config option per network for bot mode
This commit is contained in:
parent
c6c74c7f3b
commit
f89a25d645
8 changed files with 67 additions and 10 deletions
|
@ -47,6 +47,7 @@ CREATE TABLE irc_network
|
|||
invite_command TEXT,
|
||||
use_bouncer BOOLEAN,
|
||||
bouncer_addr TEXT,
|
||||
bot_mode BOOLEAN DEFAULT FALSE,
|
||||
connected BOOLEAN,
|
||||
connected_since TIMESTAMP,
|
||||
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
||||
|
@ -827,5 +828,8 @@ ALTER TABLE filter_external
|
|||
`,
|
||||
`ALTER TABLE filter_external
|
||||
DROP COLUMN IF EXISTS webhook_retry_max_jitter_seconds;
|
||||
`,
|
||||
`ALTER TABLE irc_network
|
||||
ADD COLUMN bot_mode BOOLEAN DEFAULT FALSE;
|
||||
`,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue