audio module

Audio

class shellbot.plugins.audio.setup.Audio(*args, **kwargs)

Implement the audio plugin. Since there are many audio commands, documentation for those commands is dropped and can be retrieved by consulting the audio reference.

connect(ctx)

Implement the connect command.

Parameters:ctx (Context) – The command context.
Raise:VoiceError
disconnect(ctx)

Implement the disconnect command.

Parameters:ctx (Context) – The command context.
Raise:VoiceError
langlist(ctx)

Implement the langlist command.

Parameters:ctx (Context) – The command context.
tts(ctx, *, lang='en', content)

Implement the tts command.

Parameters:
  • ctx (Context) – The command context.
  • content (str) – The text to speak.
  • lang (str [optional]) – Optional keyword argument denoting the language.
Raise:

NotFound – Unknown language.

soundlist(ctx)

Implement the soundlist command.

Parameters:ctx (Context) – The command context.