voice

package
v0.0.0-...-c76ee77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatHandler

type ChatHandler struct {
	Ctx             context.Context
	SpockVoiceChns  SpockVoiceChannels
	GuildVoiceChats map[string]ChatInfo
}

func (*ChatHandler) HandleVoiceChannelUpdate

func (v *ChatHandler) HandleVoiceChannelUpdate(_ *discordgo.Session, vc *discordgo.VoiceStateUpdate)

type ChatInfo

type ChatInfo struct {
	UserCount uint
	ChannelID string
}

type SpockVoiceChannels

type SpockVoiceChannels map[string]chan struct{}

func (SpockVoiceChannels) Close

func (s SpockVoiceChannels) Close() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL