Skip to content

Commit

Permalink
add request func to client interface
Browse files Browse the repository at this point in the history
  • Loading branch information
sebm253 committed Sep 21, 2024
1 parent 05d0079 commit 88f0566
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bot/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ type Client interface {
// limit : The number of discord.Member(s) to return.
RequestMembersWithQuery(ctx context.Context, guildID snowflake.ID, presence bool, nonce string, query string, limit int) error

// RequestSoundboardSounds a gateway.MessageDataRequestSoundboardSounds to the specific gateway.Gateway and requests the SoundboardSounds of the specified guilds.
RequestSoundboardSounds(ctx context.Context, guildIDs ...snowflake.ID) error

// SetPresence sends new presence data to the gateway.Gateway.
SetPresence(ctx context.Context, opts ...gateway.PresenceOpt) error

Expand Down

0 comments on commit 88f0566

Please sign in to comment.