forked from Minecraft/canopeas
parent
326b370ca8
commit
c84c523e55
|
@ -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"
|
|
@ -1,6 +1,6 @@
|
||||||
# GoLand
|
# GoLand
|
||||||
.idea/
|
.idea/
|
||||||
|
|
||||||
# sedbot
|
# canopeas
|
||||||
sedbot*
|
canopeas*
|
||||||
!config/sedbot.example.toml
|
!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
|
## 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)
|
|
@ -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 {
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
|
@ -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{
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -6,7 +6,7 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"go.etztech.xyz/sedbot/database"
|
"git.birbmc.com/canopeas/database"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
|
|
@ -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
2
go.mod
|
@ -1,4 +1,4 @@
|
||||||
module go.etztech.xyz/sedbot
|
module git.birbmc.com/canopeas
|
||||||
|
|
||||||
go 1.16
|
go 1.16
|
||||||
|
|
||||||
|
|
6
main.go
6
main.go
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue