Rename to paprika
Anirudh Oppiliappan x@icyphox.sh
Fri, 19 Nov 2021 14:15:55 +0530
9 files changed,
13 insertions(+),
13 deletions(-)
M
main.go
→
main.go
@@ -4,8 +4,8 @@ import (
"log" "net" - "git.icyphox.sh/taigobot/db" - "git.icyphox.sh/taigobot/plugins" + "git.icyphox.sh/paprika/db" + "git.icyphox.sh/paprika/plugins" "github.com/dgraph-io/badger/v3" "gopkg.in/irc.v3" )@@ -38,10 +38,10 @@ log.Fatal(err)
} config := irc.ClientConfig{ - Nick: "taigobot112", + Nick: "paprika112", Pass: "", - User: "taigobot112", - Name: "taigobot", + User: "paprika112", + Name: "paprika", Handler: irc.HandlerFunc(ircHandler), }
M
plugins/hello.go
→
plugins/hello.go
@@ -12,7 +12,7 @@
type Hello struct{} func (Hello) Triggers() []string { - return []string{".hello", "taigobot"} + return []string{".hello", "paprika"} } func (Hello) Execute(m *irc.Message) (string, error) {
M
plugins/listenbrainz.go
→
plugins/listenbrainz.go
@@ -4,7 +4,7 @@
import ( "strings" - "git.icyphox.sh/taigobot/plugins/listenbrainz" + "git.icyphox.sh/paprika/plugins/listenbrainz" "github.com/dgraph-io/badger/v3" "gopkg.in/irc.v3" )
M
plugins/listenbrainz/db.go
→
plugins/listenbrainz/db.go
@@ -3,7 +3,7 @@
import ( "fmt" - "git.icyphox.sh/taigobot/db" + "git.icyphox.sh/paprika/db" "github.com/dgraph-io/badger/v3" )
M
plugins/search.go
→
plugins/search.go
@@ -103,7 +103,7 @@ if err != nil {
return "Client request error", err } - req.Header.Add("User-Agent", "github.com/icyphox/Taigobot") + req.Header.Add("User-Agent", "github.com/icyphox/paprika") q := req.URL.Query() q.Add("q", query)
M
plugins/weather.go
→
plugins/weather.go
@@ -4,7 +4,7 @@ import (
"fmt" "strings" - "git.icyphox.sh/taigobot/plugins/weather" + "git.icyphox.sh/paprika/plugins/weather" "gopkg.in/irc.v3" )
M
plugins/weather/weather.go
→
plugins/weather/weather.go
@@ -44,7 +44,7 @@ url = fmt.Sprintf(url, lonlat[1], lonlat[0])
client := &http.Client{} req, _ := http.NewRequest("GET", url, nil) - req.Header.Add("User-Agent", "taigobot github.com/icyphox/taigobot") + req.Header.Add("User-Agent", "github.com/icyphox/paprika") res, err := client.Do(req) if err != nil {