[docs]@classmethodasyncdefconvert(cls,ctx:PyLavContext,arg:str)->str:# noqa"""Converts user input to a valid argument for the bassboost command"""try:ifmatch:=next(filter(lambdax:x.lower().startswith(arg.lower()),["Maximum","Insane","Extreme","High","Very High","Medium","Fine Tuned","Cut-off","Off",],),None,):returnmatchelse:raiseEntryNotFoundExceptionexceptEntryNotFoundExceptionase:raisecommands.BadArgument(_("A bass boost profile with the name `{user_input_variable_do_not_translate}` was not found.").format(user_input_variable_do_not_translate=arg))frome