@bot.command()
async def name_function(ctx, cash_t: str = None, cash: float = None):...
cash_t
и cash
местами, сделав cash
optional аргументом?@bot.command()
async def cmdname(ctx, cash: typing.Optional[float], *, cash_t: str):
...
# [p]cmdname текст cash_t → cash = None, cash_t = "текст cash_t"
# [p]cmdname 12.3 абвгдеёж → cash = 12.3, cash_t = "авбгдеёж"