Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #87 from sleeyax/chore/update-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sleeyax committed Jul 10, 2023
2 parents 68b290a + 105ab30 commit 9ceafa8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
5 changes: 2 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ module github.com/sleeyax/aternos-discord-bot
go 1.18

require (
// TODO: wait for v0.26.x release to include slash commands v2 (https://github.com/bwmarrin/discordgo/pull/1075)
github.com/bwmarrin/discordgo v0.25.1-0.20220506203013-e1f154bfe70e
github.com/sleeyax/aternos-api v0.4.0
github.com/bwmarrin/discordgo v0.27.1
github.com/sleeyax/aternos-api v0.4.1
go.mongodb.org/mongo-driver v1.9.0
)

Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ github.com/andybalholm/brotli v1.0.4 h1:V7DdXeJtZscaqfNuAdSRuRFzuiKlHSC/Zh3zl9qY
github.com/andybalholm/brotli v1.0.4/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/andybalholm/cascadia v1.3.1 h1:nhxRkql1kdYCc8Snf7D5/D3spOX+dBgjA6u8x004T2c=
github.com/andybalholm/cascadia v1.3.1/go.mod h1:R4bJ1UQfqADjvDa4P6HZHLh/3OxWWEqc0Sk8XGwHqvA=
github.com/bwmarrin/discordgo v0.25.1-0.20220506203013-e1f154bfe70e h1:HvbAHr5A0aOVYkGqJLeCBlkVLOtoppiz7KEe33xE5FY=
github.com/bwmarrin/discordgo v0.25.1-0.20220506203013-e1f154bfe70e/go.mod h1:NJZpH+1AfhIcyQsPeuBKsUtYrRnjkyu0kIVMCHkZtRY=
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/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
Expand Down Expand Up @@ -40,8 +40,8 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/sleeyax/aternos-api v0.4.0 h1:Nwt51Wl8TN2Heumto4P5PcOUHjd2rJB8nOIQe3Ajx2Y=
github.com/sleeyax/aternos-api v0.4.0/go.mod h1:OxjZH4RYDlKDkINF14J+Ga0nGXtPz2SSctuxpnduwMQ=
github.com/sleeyax/aternos-api v0.4.1 h1:eBzHMJNcUpVsOC3/XS3a4HrlEMvvDz19JOWb3FYImw4=
github.com/sleeyax/aternos-api v0.4.1/go.mod h1:OxjZH4RYDlKDkINF14J+Ga0nGXtPz2SSctuxpnduwMQ=
github.com/sleeyax/gotcha v0.1.1/go.mod h1:H2TKsKYJIXgmFGGUqs21FCr1HXVXjNWccX5/WexkLOM=
github.com/sleeyax/gotcha v0.1.3 h1:lJbluA8TLGrT7TtGzQys51TFXhuOzpUL2Pzl3RzIxmQ=
github.com/sleeyax/gotcha v0.1.3/go.mod h1:H2TKsKYJIXgmFGGUqs21FCr1HXVXjNWccX5/WexkLOM=
Expand Down
4 changes: 0 additions & 4 deletions message/flags.go

This file was deleted.

2 changes: 1 addition & 1 deletion utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func respondWithText(s *discordgo.Session, i *discordgo.InteractionCreate, conte
func respondWithHiddenText(s *discordgo.Session, i *discordgo.InteractionCreate, content string) error {
return respond(s, i, &discordgo.InteractionResponseData{
Content: message.FormatDefault(content),
Flags: message.FlagVisibleToCallerOnly,
Flags: discordgo.MessageFlagsEphemeral,
})
}

Expand Down

0 comments on commit 9ceafa8

Please sign in to comment.