|
@ -6,7 +6,7 @@ import ( |
|
|
"strings" |
|
|
"strings" |
|
|
"time" |
|
|
"time" |
|
|
|
|
|
|
|
|
"git.aiterp.net/gisle/irc" |
|
|
|
|
|
|
|
|
"github.com/gissleh/irc" |
|
|
"git.aiterp.net/rpdata/logbot3/internal/models" |
|
|
"git.aiterp.net/rpdata/logbot3/internal/models" |
|
|
"git.aiterp.net/rpdata/logbot3/internal/models/channels" |
|
|
"git.aiterp.net/rpdata/logbot3/internal/models/channels" |
|
|
) |
|
|
) |
|
@ -34,6 +34,8 @@ func New(ctx context.Context, nick string, alternatives []string, user string, r |
|
|
SkipSSLVerification: false, |
|
|
SkipSSLVerification: false, |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
client.AddHandler(handler) |
|
|
|
|
|
|
|
|
bot := &Bot{ |
|
|
bot := &Bot{ |
|
|
client: client, |
|
|
client: client, |
|
|
channels: make(map[string]*Channel), |
|
|
channels: make(map[string]*Channel), |
|
|