Skip to content

Commit

Permalink
mark Interaction.ChannelID as depreacted
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 committed Apr 10, 2023
1 parent e533abb commit e4caa2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions discord/interaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ type Interaction interface {
Token() string
Version() int
GuildID() *snowflake.ID
// Deprecated: Use Interaction.Channel instead
ChannelID() snowflake.ID
Channel() *PartialChannel
Locale() Locale
Expand Down

0 comments on commit e4caa2f

Please sign in to comment.