diff options
author | Runxi Yu <me@runxiyu.org> | 2025-08-17 18:08:35 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-08-17 18:08:35 +0800 |
commit | 674c4d86b3bed9c03d43c0b00825dd4508c0f8c5 (patch) | |
tree | 1563a6c177f458685403b6294f841091a1827206 /forged/internal/ipc/irc/bot.go | |
parent | Refactor handlers structure and add BaseData (diff) | |
download | forge-674c4d86b3bed9c03d43c0b00825dd4508c0f8c5.tar.gz forge-674c4d86b3bed9c03d43c0b00825dd4508c0f8c5.tar.zst forge-674c4d86b3bed9c03d43c0b00825dd4508c0f8c5.zip |
Move all config typedefs to config.go
Diffstat (limited to 'forged/internal/ipc/irc/bot.go')
-rw-r--r-- | forged/internal/ipc/irc/bot.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/forged/internal/ipc/irc/bot.go b/forged/internal/ipc/irc/bot.go index c7a188b..07008ae 100644 --- a/forged/internal/ipc/irc/bot.go +++ b/forged/internal/ipc/irc/bot.go @@ -13,18 +13,6 @@ import ( "go.lindenii.runxiyu.org/forge/forged/internal/common/misc" ) -// Config contains IRC connection and identity settings for the bot. -// This should usually be a part of the primary config struct. -type Config struct { - Net string `scfg:"net"` - Addr string `scfg:"addr"` - TLS bool `scfg:"tls"` - SendQ uint `scfg:"sendq"` - Nick string `scfg:"nick"` - User string `scfg:"user"` - Gecos string `scfg:"gecos"` -} - // Bot represents an IRC bot client that handles events and allows for sending messages. type Bot struct { // TODO: Use each config field instead of embedding Config here. |