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

Commit 9ceafa8

Browse files
authored
Merge pull request #87 from sleeyax/chore/update-dependencies
2 parents 68b290a + 105ab30 commit 9ceafa8

File tree

4 files changed

+7
-12
lines changed

4 files changed

+7
-12
lines changed

go.mod

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ module github.com/sleeyax/aternos-discord-bot
33
go 1.18
44

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

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ github.com/andybalholm/brotli v1.0.4 h1:V7DdXeJtZscaqfNuAdSRuRFzuiKlHSC/Zh3zl9qY
77
github.com/andybalholm/brotli v1.0.4/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
88
github.com/andybalholm/cascadia v1.3.1 h1:nhxRkql1kdYCc8Snf7D5/D3spOX+dBgjA6u8x004T2c=
99
github.com/andybalholm/cascadia v1.3.1/go.mod h1:R4bJ1UQfqADjvDa4P6HZHLh/3OxWWEqc0Sk8XGwHqvA=
10-
github.com/bwmarrin/discordgo v0.25.1-0.20220506203013-e1f154bfe70e h1:HvbAHr5A0aOVYkGqJLeCBlkVLOtoppiz7KEe33xE5FY=
11-
github.com/bwmarrin/discordgo v0.25.1-0.20220506203013-e1f154bfe70e/go.mod h1:NJZpH+1AfhIcyQsPeuBKsUtYrRnjkyu0kIVMCHkZtRY=
10+
github.com/bwmarrin/discordgo v0.27.1 h1:ib9AIc/dom1E/fSIulrBwnez0CToJE113ZGt4HoliGY=
11+
github.com/bwmarrin/discordgo v0.27.1/go.mod h1:NJZpH+1AfhIcyQsPeuBKsUtYrRnjkyu0kIVMCHkZtRY=
1212
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
1313
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
1414
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
@@ -40,8 +40,8 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
4040
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
4141
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
4242
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
43-
github.com/sleeyax/aternos-api v0.4.0 h1:Nwt51Wl8TN2Heumto4P5PcOUHjd2rJB8nOIQe3Ajx2Y=
44-
github.com/sleeyax/aternos-api v0.4.0/go.mod h1:OxjZH4RYDlKDkINF14J+Ga0nGXtPz2SSctuxpnduwMQ=
43+
github.com/sleeyax/aternos-api v0.4.1 h1:eBzHMJNcUpVsOC3/XS3a4HrlEMvvDz19JOWb3FYImw4=
44+
github.com/sleeyax/aternos-api v0.4.1/go.mod h1:OxjZH4RYDlKDkINF14J+Ga0nGXtPz2SSctuxpnduwMQ=
4545
github.com/sleeyax/gotcha v0.1.1/go.mod h1:H2TKsKYJIXgmFGGUqs21FCr1HXVXjNWccX5/WexkLOM=
4646
github.com/sleeyax/gotcha v0.1.3 h1:lJbluA8TLGrT7TtGzQys51TFXhuOzpUL2Pzl3RzIxmQ=
4747
github.com/sleeyax/gotcha v0.1.3/go.mod h1:H2TKsKYJIXgmFGGUqs21FCr1HXVXjNWccX5/WexkLOM=

message/flags.go

Lines changed: 0 additions & 4 deletions
This file was deleted.

utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func respondWithText(s *discordgo.Session, i *discordgo.InteractionCreate, conte
2222
func respondWithHiddenText(s *discordgo.Session, i *discordgo.InteractionCreate, content string) error {
2323
return respond(s, i, &discordgo.InteractionResponseData{
2424
Content: message.FormatDefault(content),
25-
Flags: message.FlagVisibleToCallerOnly,
25+
Flags: discordgo.MessageFlagsEphemeral,
2626
})
2727
}
2828

0 commit comments

Comments
 (0)