pylav.storage.controllers package#
Subpackages#
- pylav.storage.controllers.players package
- Submodules
- pylav.storage.controllers.players.config module
PlayerConfigController
PlayerConfigController.client
PlayerConfigController.get_alone_dc()
PlayerConfigController.get_alone_pause()
PlayerConfigController.get_auto_play()
PlayerConfigController.get_auto_shuffle()
PlayerConfigController.get_config()
PlayerConfigController.get_empty_queue_dc()
PlayerConfigController.get_global_config()
PlayerConfigController.get_max_volume()
PlayerConfigController.get_self_deaf()
PlayerConfigController.get_shuffle()
PlayerConfigController.get_volume()
PlayerConfigController.initialize_global_config()
PlayerConfigController.is_dj()
PlayerConfigController.reset_to_default()
- pylav.storage.controllers.players.states module
- Module contents
Submodules#
pylav.storage.controllers.config module#
pylav.storage.controllers.equalizers module#
- class pylav.storage.controllers.equalizers.EqualizerController(client)[source]#
Bases:
object
- property client#
- async create_or_update_channel_equalizer(text_channel, identifier, author, name, description=None, band_25=None, band_40=None, band_63=None, band_100=None, band_160=None, band_250=None, band_400=None, band_630=None, band_1000=None, band_1600=None, band_2500=None, band_4000=None, band_6300=None, band_10000=None, band_16000=None)[source]#
- async static create_or_update_equalizer(identifier, scope, author, name, description=None, band_25=None, band_40=None, band_63=None, band_100=None, band_160=None, band_250=None, band_400=None, band_630=None, band_1000=None, band_1600=None, band_2500=None, band_4000=None, band_6300=None, band_10000=None, band_16000=None)[source]#
- async create_or_update_global_equalizer(identifier, author, name, description=None, band_25=None, band_40=None, band_63=None, band_100=None, band_160=None, band_250=None, band_400=None, band_630=None, band_1000=None, band_1600=None, band_2500=None, band_4000=None, band_6300=None, band_10000=None, band_16000=None)[source]#
- async create_or_update_guild_equalizer(guild, identifier, author, name, description=None, band_25=None, band_40=None, band_63=None, band_100=None, band_160=None, band_250=None, band_400=None, band_630=None, band_1000=None, band_1600=None, band_2500=None, band_4000=None, band_6300=None, band_10000=None, band_16000=None)[source]#
- async create_or_update_user_equalizer(user_id, author, name, description=None, band_25=None, band_40=None, band_63=None, band_100=None, band_160=None, band_250=None, band_400=None, band_630=None, band_1000=None, band_1600=None, band_2500=None, band_4000=None, band_6300=None, band_10000=None, band_16000=None)[source]#
- async create_or_update_vc_equalizer(voice_channel, identifier, author, name, description=None, band_25=None, band_40=None, band_63=None, band_100=None, band_160=None, band_250=None, band_400=None, band_630=None, band_1000=None, band_1600=None, band_2500=None, band_4000=None, band_6300=None, band_10000=None, band_16000=None)[source]#
pylav.storage.controllers.migrator module#
pylav.storage.controllers.nodes module#
- class pylav.storage.controllers.nodes.NodeController(client)[source]#
Bases:
object
- property client#
- currently_in_db#
- async update_node(host, port, password, unique_identifier, resume_timeout=60, name=None, reconnect_attempts=-1, ssl=False, search_only=False, managed=False, extras=None, yaml=None, disabled_sources=None)[source]#
Add a new node to the database.
- Parameters:
host (
str
) – The host of the node.port (
int
) – The port of the node.password (
str
) – The password of the node.unique_identifier (
int
) – The unique identifier of the node.name (
str
) – The name of the node.resume_timeout (
int
) – The resume timeout of the node.reconnect_attempts (
int
) – The reconnect attempts of the node.ssl (
bool
) – Whether the node is using ssl.search_only (
bool
) – Whether the node is search only.managed (
bool
) – Whether the node is managed.extras (
dict
) – The extras of the node.disabled_sources (
list[str]
) – The disabled sources of the node.yaml (
dict
) – The yaml of the node.
pylav.storage.controllers.playlists module#
- class pylav.storage.controllers.playlists.PlaylistController(client)[source]#
Bases:
object
- property client#