#how do I make it so I don't need quotes for arguments with spaces?

1 messages · Page 1 of 1 (latest)

balmy cairn
#
@bot.command()
async def say(ctx: commands.Context, thing: str):
    """Says what you tell it to."""
    await ctx.send(thing)
leaden pagoda
balmy cairn
#

I have that pulled up already

#

Adding *, doesn't work and I don't know where to put Command.rest_is_raw

#

hello

leaden pagoda
#

what?

balmy cairn
#

because it says to do this

#

but I can't because it looks different

#

(ctx: commands.Context, thing: str)

#

what do I do

leaden pagoda
balmy cairn
#

i tried that and the command didn't send anything

leaden pagoda
#

what are you putting as your arguments?

balmy cairn
#

jumbles of letters

#

with spaces

#

oh what the hell NOW it works

leaden pagoda
#

fun

balmy cairn
#

thanks i guess??

leaden pagoda
#

.solved

silk coralBOT
#

Done with your help thread?

Please close your own help thread by using </close:1009144375709814897> with @jovial shoal.