go test ./...
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Malachy Byrne 2025-04-01 15:43:24 +01:00
parent b8c844663f
commit fda5f36c9b
Signed by: malmal200
GPG Key ID: EC21443030A655D9
2 changed files with 4 additions and 2 deletions

View File

@ -1,8 +1,9 @@
kind: pipeline
type: docker
name: default
steps:
- name: test
image: golang
image: golang:1.23
commands:
- go test
- go test ./...

View File

@ -14,6 +14,7 @@ var prefix = os.Getenv("COMMAND_PREFIX")
func init() {
token := os.Getenv("DISCORD_TOKEN")
token = "ODgyNzI5OTg1MzgxNjUwNTEy.GEOiR0.MPRFc10hMG6RKLla4ic-gXP7oTKTFacbAFpapk"
var err error
s, err = discordgo.New("Bot " + token)
if err != nil {