pylav.extension.red.converters package#
Submodules#
pylav.extension.red.converters.equalizer module#
- class pylav.extension.red.converters.equalizer.BassBoostConverter[source]#
Bases:
Transformer
- async classmethod autocomplete(interaction, current)[source]#
-
An autocomplete prompt handler to be automatically used by options using this transformer.
- Parameters:
interaction (
Interaction
) – The autocomplete interaction being handled.value (
Union[:class:`str`
,int
,float
]) – The current value entered by the user.
- Returns:
A list of choices to be displayed to the user, a maximum of 25.
- Return type:
List[:class:`~discord.app_commands.Choice
]`
- async classmethod convert(ctx, arg)[source]#
Converts user input to a valid argument for the bassboost command
- async classmethod transform(interaction, argument)[source]#
-
Transforms the converted option value into another value.
The value passed into this transform function is the same as the one in the
conversion table
.- Parameters:
interaction (
Interaction
) – The interaction being handled.value (
Any
) – The value of the given argument after being resolved. See theconversion table
for how certain option types correspond to certain values.