Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadFile ¶
Types ¶
type Usecase ¶
type Usecase interface { PlayAudioFile(string, *discordgo.VoiceConnection) JoinAndPlayAudioFile(string, *discordgo.Session, *discordgo.MessageCreate, *discordgo.Guild, bool) ConnectToVoiceChannel(*discordgo.Session, *discordgo.MessageCreate, *discordgo.Guild, bool) (*discordgo.VoiceConnection, error) StopVoice() VoiceCommands() *repository.ResponseCMS }
Usecase interface
func NewVoiceUsecase ¶
func NewVoiceUsecase(mr repository.Repository) Usecase
NewVoiceUsecase new voice usecase
Click to show internal directories.
Click to hide internal directories.