forked from Minecraft/canopeas
parent
326b370ca8
commit
c84c523e55
|
@ -37,6 +37,6 @@ steps:
|
|||
settings:
|
||||
token:
|
||||
from_secret: gitea_token
|
||||
base: https://git.etztech.xyz
|
||||
base: https://git.birbmc.com
|
||||
files:
|
||||
- "sedbot"
|
||||
- "canopeas"
|
|
@ -1,6 +1,6 @@
|
|||
# GoLand
|
||||
.idea/
|
||||
|
||||
# sedbot
|
||||
sedbot*
|
||||
!config/sedbot.example.toml
|
||||
# canopeas
|
||||
canopeas*
|
||||
!config/canopeas.example.toml
|
10
README.md
10
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>] <number>` - Clear <number> messages (optionally only by @user)
|
||||
|
||||
## Building
|
||||
|
||||
```text
|
||||
make build-all
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
[MIT](LICENSE)
|
|
@ -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 {
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"fmt"
|
||||
"strings"
|
||||
|
||||
"go.etztech.xyz/sedbot/config"
|
||||
"git.birbmc.com/canopeas/config"
|
||||
|
||||
"github.com/bwmarrin/discordgo"
|
||||
)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package discord
|
||||
|
||||
import "go.etztech.xyz/sedbot/imgur"
|
||||
import "git.birbmc.com/canopeas/imgur"
|
||||
|
||||
func init() {
|
||||
commands = append(commands, &command{
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"go.etztech.xyz/sedbot/database"
|
||||
"git.birbmc.com/canopeas/database"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -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
2
go.mod
|
@ -1,4 +1,4 @@
|
|||
module go.etztech.xyz/sedbot
|
||||
module git.birbmc.com/canopeas
|
||||
|
||||
go 1.16
|
||||
|
||||
|
|
Loading…
Reference in New Issue