Signed-off-by: Etzelia <etzelia@hotmail.com>
pull/8/head
Etzelia 2021-05-04 11:18:15 -05:00
parent 326b370ca8
commit c84c523e55
No known key found for this signature in database
GPG Key ID: 708511AE7ABC5314
13 changed files with 20 additions and 26 deletions

View File

@ -37,6 +37,6 @@ steps:
settings: settings:
token: token:
from_secret: gitea_token from_secret: gitea_token
base: https://git.etztech.xyz base: https://git.birbmc.com
files: files:
- "sedbot" - "canopeas"

6
.gitignore vendored
View File

@ -1,6 +1,6 @@
# GoLand # GoLand
.idea/ .idea/
# sedbot # canopeas
sedbot* canopeas*
!config/sedbot.example.toml !config/canopeas.example.toml

View File

@ -1,6 +1,6 @@
# SedBot # canopeas
BirbMC Discord generi-bot. Canopy Discord generi-bot.
## Commands ## Commands
@ -20,12 +20,6 @@ BirbMC Discord generi-bot.
* `clear [<@user>] <number>` - Clear <number> messages (optionally only by @user) * `clear [<@user>] <number>` - Clear <number> messages (optionally only by @user)
## Building
```text
make build-all
```
## License ## License
[MIT](LICENSE) [MIT](LICENSE)

View File

@ -8,7 +8,7 @@ import (
"github.com/pelletier/go-toml" "github.com/pelletier/go-toml"
) )
//go:embed sedbot.example.toml //go:embed canopeas.example.toml
var defaultConfig []byte var defaultConfig []byte
type Config struct { type Config struct {

View File

@ -5,9 +5,9 @@ import (
"strings" "strings"
"time" "time"
"go.etztech.xyz/sedbot/config" "git.birbmc.com/canopeas/config"
"go.etztech.xyz/sedbot/database" "git.birbmc.com/canopeas/database"
"go.etztech.xyz/sedbot/imgur" "git.birbmc.com/canopeas/imgur"
"github.com/bwmarrin/discordgo" "github.com/bwmarrin/discordgo"
"github.com/dghubble/go-twitter/twitter" "github.com/dghubble/go-twitter/twitter"

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"strings" "strings"
"go.etztech.xyz/sedbot/config" "git.birbmc.com/canopeas/config"
"github.com/bwmarrin/discordgo" "github.com/bwmarrin/discordgo"
) )

View File

@ -1,6 +1,6 @@
package discord package discord
import "go.etztech.xyz/sedbot/imgur" import "git.birbmc.com/canopeas/imgur"
func init() { func init() {
commands = append(commands, &command{ commands = append(commands, &command{

View File

@ -7,7 +7,7 @@ import (
"path/filepath" "path/filepath"
"strings" "strings"
"go.etztech.xyz/sedbot/config" "git.birbmc.com/canopeas/config"
"go.etztech.xyz/go-mcm" "go.etztech.xyz/go-mcm"
"go.etztech.xyz/go-mcm/model/django" "go.etztech.xyz/go-mcm/model/django"

View File

@ -6,7 +6,7 @@ import (
"strings" "strings"
"time" "time"
"go.etztech.xyz/sedbot/database" "git.birbmc.com/canopeas/database"
) )
func init() { func init() {

View File

@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"time" "time"
"go.etztech.xyz/sedbot/database" "git.birbmc.com/canopeas/database"
"go.etztech.xyz/go-serverapi" "go.etztech.xyz/go-serverapi"
"go.jolheiser.com/beaver" "go.jolheiser.com/beaver"

2
go.mod
View File

@ -1,4 +1,4 @@
module go.etztech.xyz/sedbot module git.birbmc.com/canopeas
go 1.16 go 1.16

View File

@ -6,9 +6,9 @@ import (
"os/signal" "os/signal"
"syscall" "syscall"
"go.etztech.xyz/sedbot/config" "git.birbmc.com/canopeas/config"
"go.etztech.xyz/sedbot/database" "git.birbmc.com/canopeas/database"
"go.etztech.xyz/sedbot/discord" "git.birbmc.com/canopeas/discord"
"go.jolheiser.com/beaver" "go.jolheiser.com/beaver"
) )