Signed-off-by: Etzelia <etzelia@hotmail.com>
discord-sync
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:
token:
from_secret: gitea_token
base: https://git.etztech.xyz
base: https://git.birbmc.com
files:
- "sedbot"
- "canopeas"

6
.gitignore vendored
View File

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

View File

@ -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>] <number>` - Clear <number> messages (optionally only by @user)
## Building
```text
make build-all
```
## License
[MIT](LICENSE)

View File

@ -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 {

View File

@ -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"

View File

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

View File

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

View File

@ -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"

View File

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

View File

@ -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"

2
go.mod
View File

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

View File

@ -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"
)