mirror of
https://github.com/idanoo/autobrr
synced 2025-07-25 09:49: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
3
web/src/types/Irc.d.ts
vendored
3
web/src/types/Irc.d.ts
vendored
|
@ -16,6 +16,7 @@ interface IrcNetwork {
|
|||
invite_command: string;
|
||||
use_bouncer: boolean;
|
||||
bouncer_addr: string;
|
||||
bot_mode: boolean;
|
||||
channels: IrcChannel[];
|
||||
connected: boolean;
|
||||
connected_since: string;
|
||||
|
@ -33,6 +34,7 @@ interface IrcNetworkCreate {
|
|||
invite_command: string;
|
||||
use_bouncer?: boolean;
|
||||
bouncer_addr?: string;
|
||||
bot_mode?: boolean;
|
||||
channels: IrcChannel[];
|
||||
connected: boolean;
|
||||
}
|
||||
|
@ -64,6 +66,7 @@ interface IrcNetworkWithHealth {
|
|||
invite_command: string;
|
||||
use_bouncer: boolean;
|
||||
bouncer_addr: string;
|
||||
bot_mode: boolean;
|
||||
channels: IrcChannelWithHealth[];
|
||||
connected: boolean;
|
||||
connected_since: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue