Skip to content

Commit

Permalink
Upgrade to recent DiscordGo, Upgrade Go version
Browse files Browse the repository at this point in the history
  • Loading branch information
ReeceDonovan committed Feb 22, 2024
1 parent feaf2eb commit e234b48
Show file tree
Hide file tree
Showing 3 changed files with 136 additions and 894 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM golang:1.17-alpine AS dev
FROM golang:1.21.6-alpine AS dev

WORKDIR /bot

RUN apk add git

RUN GO111MODULE=on go get github.com/cortesi/modd/cmd/modd
# RUN GO111MODULE=on go get github.com/cortesi/modd/cmd/modd

COPY go.mod .
COPY go.sum .
Expand Down
80 changes: 40 additions & 40 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,60 +1,60 @@
module github.com/UCCNetsoc/discord-bot

go 1.17
go 1.21

require (
github.com/Strum355/log v1.1.0
github.com/blend/go-sdk v1.20210815.2 // indirect
github.com/bwmarrin/discordgo v0.23.3-0.20210821175000-0fad116c6c2a
github.com/blend/go-sdk v1.20220411.3 // indirect
github.com/bwmarrin/discordgo v0.27.1
github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927 // indirect
github.com/dghubble/oauth1 v0.7.0
github.com/ericm/go-twitter v0.0.0-20200605182549-dd530d8e2eea
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/kr/pretty v0.3.0 // indirect
github.com/lib/pq v1.10.2
github.com/lib/pq v1.10.9
github.com/matryer/try v0.0.0-20161228173917-9ac251b645a2
github.com/miekg/dns v1.1.43
github.com/miekg/dns v1.1.58
github.com/patrickmn/go-cache v2.1.0+incompatible
github.com/prometheus/client_golang v1.11.0
github.com/sendgrid/rest v2.6.4+incompatible
github.com/sendgrid/sendgrid-go v3.10.0+incompatible
github.com/spf13/viper v1.8.1
github.com/vincent-petithory/dataurl v0.0.0-20191104211930-d1553a71de50
github.com/prometheus/client_golang v1.18.0
github.com/sendgrid/rest v2.6.9+incompatible
github.com/sendgrid/sendgrid-go v3.14.0+incompatible
github.com/spf13/viper v1.18.2
github.com/vincent-petithory/dataurl v1.0.0
github.com/wcharczuk/go-chart v2.0.1+incompatible
golang.org/x/image v0.0.0-20210628002857-a66eb6448b8d // indirect
golang.org/x/text v0.3.7
google.golang.org/protobuf v1.27.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
golang.org/x/image v0.15.0 // indirect
golang.org/x/text v0.14.0
google.golang.org/protobuf v1.32.0 // indirect
)

require (
github.com/apognu/gocal v0.9.0
github.com/beorn7/perks v1.0.1 // indirect
github.com/cenkalti/backoff v2.2.1+incompatible // indirect
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/dghubble/sling v1.3.0 // indirect
github.com/fsnotify/fsnotify v1.4.9 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/gorilla/websocket v1.4.2 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/gorilla/websocket v1.5.1 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/magiconair/properties v1.8.5 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/mitchellh/mapstructure v1.4.1 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/opentracing/opentracing-go v1.2.0 // indirect
github.com/pelletier/go-toml v1.9.3 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.30.0 // indirect
github.com/prometheus/procfs v0.7.3 // indirect
github.com/spf13/afero v1.6.0 // indirect
github.com/spf13/cast v1.4.1 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/prometheus/client_model v0.6.0 // indirect
github.com/prometheus/common v0.47.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/spf13/afero v1.11.0 // indirect
github.com/spf13/cast v1.6.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.2.0 // indirect
golang.org/x/crypto v0.0.0-20210813211128-0a44fdfbc16e // indirect
golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d // indirect
golang.org/x/sys v0.0.0-20210817142637-7d9622a276b7 // indirect
gopkg.in/ini.v1 v1.62.0 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
golang.org/x/crypto v0.19.0 // indirect
golang.org/x/net v0.21.0 // indirect
golang.org/x/sys v0.17.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
)

require github.com/ChannelMeter/iso8601duration v0.0.0-20150204201828-8da3af7a2a61 // indirect
require (
github.com/ChannelMeter/iso8601duration v0.0.0-20150204201828-8da3af7a2a61 // indirect
github.com/pelletier/go-toml/v2 v2.1.1 // indirect
github.com/sagikazarmark/locafero v0.4.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/exp v0.0.0-20240213143201-ec583247a57a // indirect
golang.org/x/mod v0.15.0 // indirect
golang.org/x/tools v0.18.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit e234b48

Please sign in to comment.