Skip to content

Commit

Permalink
chore: update discordgo to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvrs committed Nov 26, 2024
1 parent c639a3b commit 99767cb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/sylvrs/fuse
go 1.20

require (
github.com/bwmarrin/discordgo v0.27.1
github.com/bwmarrin/discordgo v0.28.1
github.com/caarlos0/env/v8 v8.0.0
github.com/inconshreveable/log15 v2.16.0+incompatible
github.com/joho/godotenv v1.5.1
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
github.com/bwmarrin/discordgo v0.27.1 h1:ib9AIc/dom1E/fSIulrBwnez0CToJE113ZGt4HoliGY=
github.com/bwmarrin/discordgo v0.27.1/go.mod h1:NJZpH+1AfhIcyQsPeuBKsUtYrRnjkyu0kIVMCHkZtRY=
github.com/bwmarrin/discordgo v0.28.1 h1:gXsuo2GBO7NbR6uqmrrBDplPUx2T3nzu775q/Rd1aG4=
github.com/bwmarrin/discordgo v0.28.1/go.mod h1:NJZpH+1AfhIcyQsPeuBKsUtYrRnjkyu0kIVMCHkZtRY=
github.com/caarlos0/env/v8 v8.0.0 h1:POhxHhSpuxrLMIdvTGARuZqR4Jjm8AYmoi/JKlcScs0=
github.com/caarlos0/env/v8 v8.0.0/go.mod h1:7K4wMY9bH0esiXSSHlfHLX5xKGQMnkH5Fk4TDSSSzfo=
github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
Expand Down
4 changes: 2 additions & 2 deletions utils/embeds.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ func UpdateMessage(session *discordgo.Session, current *discordgo.MessageSend, s
ID: sent.ID,
Channel: sent.ChannelID,
Content: &current.Content,
Embeds: current.Embeds,
Components: current.Components,
Embeds: &current.Embeds,
Components: &current.Components,
})
return err
}
Expand Down

0 comments on commit 99767cb

Please sign in to comment.