File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package main
22
33import (
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
2020const banner = `
21- _ _ _ _ _
22- __| | _____ _| |__ _ _| |__ | |__ ___ | |_
23- / _ |/ _ \ \ / / '_ \| | | | '_ \| '_ \ / _ \| __|
24- | (_| | __/\ V /| | | | |_| | |_) | |_) | (_) | |_
25- \__,_|\___| \_/ |_| |_|\__,_|_.__/|_.__/ \___/ \__|
21+ ______ _______ __ __ __ __
22+ | | | || | | || | | |
23+ | _ || ___|| |_| || |_| |
24+ | | | || |___ | || |
25+ | |_| || ___|| ||_ _|
26+ | || |___ | | | |
27+ |______| |_______| |___| |___|
2628`
2729
2830func 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" )
Original file line number Diff line number Diff line change 1- package devhubbot
1+ package devy
22
33import (
44 "bot/internal/github"
Original file line number Diff line number Diff line change 1- package devhubbot
1+ package devy
22
33import (
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" ,
Original file line number Diff line number Diff line change 1- package devhubbot
1+ package devy
22
33import (
44 "strings"
You can’t perform that action at this time.
0 commit comments