pylav.extension.red package

Subpackages

Submodules

pylav.extension.red.errors module

exception pylav.extension.red.errors.IncompatibleException[source]

Bases: OSError

Command raised when an incompatible cog is already loaded

exception pylav.extension.red.errors.MediaPlayerCheckError(message=None, *args)[source]

Bases: MediaPlayerError

Base class for all check errors.

exception pylav.extension.red.errors.MediaPlayerError(message=None, *args)[source]

Bases: CommandError

Base class for all media player errors.

exception pylav.extension.red.errors.MediaPlayerNotFoundError(context)[source]

Bases: MediaPlayerCheckError, CheckFailure

Raised when a media player is not found.

exception pylav.extension.red.errors.NotDJError(context)[source]

Bases: MediaPlayerCheckError, CheckFailure

Raised when user does not have DJ Perms.

exception pylav.extension.red.errors.UnauthorizedChannelError(channel)[source]

Bases: MediaPlayerError

Raised when a command is used in a channel that is not authorized.

Module contents