Skip to content

Commit fbbb7f6

Browse files
authored
Merge pull request #82 from osbytes/devhubbot-to-devy
change devhubbot naming to devy
2 parents d929f64 + 7ebbe2c commit fbbb7f6

4 files changed

Lines changed: 13 additions & 11 deletions

File tree

cmd/bot/main.go

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
"bot/internal/devhubbot"
4+
"bot/internal/devy"
55
"bot/internal/github"
66
"bot/pkg/colors"
77
"bot/pkg/env"
@@ -18,11 +18,13 @@ import (
1818
)
1919

2020
const banner = `
21-
_ _ _ _ _
22-
__| | _____ _| |__ _ _| |__ | |__ ___ | |_
23-
/ _ |/ _ \ \ / / '_ \| | | | '_ \| '_ \ / _ \| __|
24-
| (_| | __/\ V /| | | | |_| | |_) | |_) | (_) | |_
25-
\__,_|\___| \_/ |_| |_|\__,_|_.__/|_.__/ \___/ \__|
21+
______ _______ __ __ __ __
22+
| | | || | | || | | |
23+
| _ || ___|| |_| || |_| |
24+
| | | || |___ | || |
25+
| |_| || ___|| ||_ _|
26+
| || |___ | | | |
27+
|______| |_______| |___| |___|
2628
`
2729

2830
func main() {
@@ -52,7 +54,7 @@ func main() {
5254

5355
githubService := github.NewGithubService(client)
5456

55-
bot := devhubbot.NewBot(discord, githubService)
57+
bot := devy.NewBot(discord, githubService)
5658

5759
go func() {
5860
infra.Logger.Info().Msg("starting bot")
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package devhubbot
1+
package devy
22

33
import (
44
"bot/internal/github"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package devhubbot
1+
package devy
22

33
import (
44
"bot/pkg/env"
@@ -88,7 +88,7 @@ var commandMap = map[string]Command{
8888
Description: "Get the latest repo the user has updated",
8989
Args: []string{"github username"},
9090
Handler: lastUpdatedRepoCommandHandler,
91-
},
91+
},
9292
"!devydeveloper": {
9393
Name: "!devydeveloper",
9494
Description: "toggle devy developer role to add/remove access to devy development channels",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package devhubbot
1+
package devy
22

33
import (
44
"strings"

0 commit comments

Comments
 (0)