Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add voice channel status #308

Draft
wants to merge 12 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
add func to interface
shut the fuck up
mlnrDev committed Sep 3, 2023
commit 26a7bf9ad1bfefdcfdc0f4907c42435a4d2e320f
2 changes: 2 additions & 0 deletions rest/channels.go
Original file line number Diff line number Diff line change
@@ -47,6 +47,8 @@ type Channels interface {
PinMessage(channelID snowflake.ID, messageID snowflake.ID, opts ...RequestOpt) error
UnpinMessage(channelID snowflake.ID, messageID snowflake.ID, opts ...RequestOpt) error
Follow(channelID snowflake.ID, targetChannelID snowflake.ID, opts ...RequestOpt) (*discord.FollowedChannel, error)

UpdateVoiceStatus(channelID snowflake.ID, status string, opts ...RequestOpt) error
}

type channelImpl struct {