From c84c523e557190c2d4050fd2e4058fb0827de014 Mon Sep 17 00:00:00 2001 From: Etzelia Date: Tue, 4 May 2021 11:18:15 -0500 Subject: [PATCH] canopeas Signed-off-by: Etzelia --- .drone.yml | 4 ++-- .gitignore | 6 +++--- README.md | 10 ++-------- config/{sedbot.example.toml => canopeas.example.toml} | 0 config/config.go | 2 +- discord/discord.go | 6 +++--- discord/echo.go | 2 +- discord/jupiter.go | 2 +- discord/register.go | 2 +- discord/unban.go | 2 +- discord/utils.go | 2 +- go.mod | 2 +- main.go | 6 +++--- 13 files changed, 20 insertions(+), 26 deletions(-) rename config/{sedbot.example.toml => canopeas.example.toml} (100%) diff --git a/.drone.yml b/.drone.yml index 401caf9..4d81de7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -37,6 +37,6 @@ steps: settings: token: from_secret: gitea_token - base: https://git.etztech.xyz + base: https://git.birbmc.com files: - - "sedbot" \ No newline at end of file + - "canopeas" \ No newline at end of file diff --git a/.gitignore b/.gitignore index e1c8229..0d2088b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ # GoLand .idea/ -# sedbot -sedbot* -!config/sedbot.example.toml \ No newline at end of file +# canopeas +canopeas* +!config/canopeas.example.toml \ No newline at end of file diff --git a/README.md b/README.md index 5451cdc..ea719ca 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# SedBot +# canopeas -BirbMC Discord generi-bot. +Canopy Discord generi-bot. ## Commands @@ -20,12 +20,6 @@ BirbMC Discord generi-bot. * `clear [<@user>] ` - Clear messages (optionally only by @user) -## Building - -```text -make build-all -``` - ## License [MIT](LICENSE) \ No newline at end of file diff --git a/config/sedbot.example.toml b/config/canopeas.example.toml similarity index 100% rename from config/sedbot.example.toml rename to config/canopeas.example.toml diff --git a/config/config.go b/config/config.go index a1bd19e..fa3efa0 100644 --- a/config/config.go +++ b/config/config.go @@ -8,7 +8,7 @@ import ( "github.com/pelletier/go-toml" ) -//go:embed sedbot.example.toml +//go:embed canopeas.example.toml var defaultConfig []byte type Config struct { diff --git a/discord/discord.go b/discord/discord.go index 5b0c533..1a834f0 100644 --- a/discord/discord.go +++ b/discord/discord.go @@ -5,9 +5,9 @@ import ( "strings" "time" - "go.etztech.xyz/sedbot/config" - "go.etztech.xyz/sedbot/database" - "go.etztech.xyz/sedbot/imgur" + "git.birbmc.com/canopeas/config" + "git.birbmc.com/canopeas/database" + "git.birbmc.com/canopeas/imgur" "github.com/bwmarrin/discordgo" "github.com/dghubble/go-twitter/twitter" diff --git a/discord/echo.go b/discord/echo.go index 9ba244b..b69bd85 100644 --- a/discord/echo.go +++ b/discord/echo.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "go.etztech.xyz/sedbot/config" + "git.birbmc.com/canopeas/config" "github.com/bwmarrin/discordgo" ) diff --git a/discord/jupiter.go b/discord/jupiter.go index 1fecc3e..a045721 100644 --- a/discord/jupiter.go +++ b/discord/jupiter.go @@ -1,6 +1,6 @@ package discord -import "go.etztech.xyz/sedbot/imgur" +import "git.birbmc.com/canopeas/imgur" func init() { commands = append(commands, &command{ diff --git a/discord/register.go b/discord/register.go index 9901d3a..12371a7 100644 --- a/discord/register.go +++ b/discord/register.go @@ -7,7 +7,7 @@ import ( "path/filepath" "strings" - "go.etztech.xyz/sedbot/config" + "git.birbmc.com/canopeas/config" "go.etztech.xyz/go-mcm" "go.etztech.xyz/go-mcm/model/django" diff --git a/discord/unban.go b/discord/unban.go index b699acd..b357048 100644 --- a/discord/unban.go +++ b/discord/unban.go @@ -6,7 +6,7 @@ import ( "strings" "time" - "go.etztech.xyz/sedbot/database" + "git.birbmc.com/canopeas/database" ) func init() { diff --git a/discord/utils.go b/discord/utils.go index 22b60cc..d2a5768 100644 --- a/discord/utils.go +++ b/discord/utils.go @@ -5,7 +5,7 @@ import ( "net/http" "time" - "go.etztech.xyz/sedbot/database" + "git.birbmc.com/canopeas/database" "go.etztech.xyz/go-serverapi" "go.jolheiser.com/beaver" diff --git a/go.mod b/go.mod index f90ef43..5bcdb70 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module go.etztech.xyz/sedbot +module git.birbmc.com/canopeas go 1.16 diff --git a/main.go b/main.go index 9be634f..acef729 100644 --- a/main.go +++ b/main.go @@ -6,9 +6,9 @@ import ( "os/signal" "syscall" - "go.etztech.xyz/sedbot/config" - "go.etztech.xyz/sedbot/database" - "go.etztech.xyz/sedbot/discord" + "git.birbmc.com/canopeas/config" + "git.birbmc.com/canopeas/database" + "git.birbmc.com/canopeas/discord" "go.jolheiser.com/beaver" )