O
O
old_stalin2020-11-08 15:39:30
Python
old_stalin, 2020-11-08 15:39:30

How to read a string in a function up to a certain character?

Have a function

@bot.command()
async def name_function(ctx, cash_t: str = None,  cash: float = None):...

How can I make cash_t read up to the number of cash (or a specific character)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
shurshur, 2020-11-08
@old_stalin

commandname "string with spaces" 100500.666

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question