Skip to content

Commit

Permalink
Add missing func to interface
Browse files Browse the repository at this point in the history
  • Loading branch information
mlnrDev committed Sep 3, 2023
1 parent 3bab561 commit 9880cbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest/channels.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ type Channels interface {
GetPinnedMessages(channelID snowflake.ID, opts ...RequestOpt) ([]discord.Message, error)
PinMessage(channelID snowflake.ID, messageID snowflake.ID, opts ...RequestOpt) error
UnpinMessage(channelID snowflake.ID, messageID snowflake.ID, opts ...RequestOpt) error
// TODO: add missing endpoints
Follow(channelID snowflake.ID, targetChannelID snowflake.ID, opts ...RequestOpt) (*discord.FollowedChannel, error)
}

type channelImpl struct {
Expand Down

0 comments on commit 9880cbc

Please sign in to comment.