doc line too long (98 > 88 characters)
111 Args:
112 options (list): List of language options for lyrics.
113 placeholder (str): Placeholder text displayed in the dropdown selector.
114 captions (dict, optional): Dictionary mapping languages to their captions/transcripts.115 """
116 if captions is None:
117 captions = {}
doc line too long (92 > 88 characters)
78 Callback function triggered when an option is selected.
79
80 Args:
81 interaction (nextcord.Interaction): The interaction that triggered the callback. 82 """
83 await interaction.response.defer(with_message=True)
84 selected_option = self.values[0]
doc line too long (95 > 88 characters)
62 options (list): List of options to display in the dropdown.
63 placeholder (str, optional): Placeholder text displayed when no option is selected.
64 callback (Callable, optional): Callback function for synchronous operations.
65 async_callback (Callable, optional): Callback function for asynchronous operations. 66 """
67 super().__init__(
68 placeholder=placeholder,
doc line too long (95 > 88 characters)
60
61 Args:
62 options (list): List of options to display in the dropdown.
63 placeholder (str, optional): Placeholder text displayed when no option is selected. 64 callback (Callable, optional): Callback function for synchronous operations.
65 async_callback (Callable, optional): Callback function for asynchronous operations.
66 """
doc line too long (96 > 88 characters)
45 options (list): List of options to display in the dropdown.
46 placeholder (str): Placeholder text displayed when no option is selected.
47 callback_func (Callable, optional): Callback function for synchronous operations.
48 async_callback_func (Callable, optional): Callback function for asynchronous operations. 49 """
50
51 def __init__(
doc line too long (89 > 88 characters)
44 Attributes:
45 options (list): List of options to display in the dropdown.
46 placeholder (str): Placeholder text displayed when no option is selected.
47 callback_func (Callable, optional): Callback function for synchronous operations. 48 async_callback_func (Callable, optional): Callback function for asynchronous operations.
49 """
50
Description
Docstring line lengths are recommended to be no greater than 79 characters.