1# Include a asterisk (*) before the variable name, eg:
2
3async def repeatback(context, *words):
4 # Function code
1@client.command()
2async def hellothere(ctx, *, msg):
3 await ctx.send("General Kenobi")
4#to add an optional Argument simply add an =None (anything else alowed to) after msg
5#the * means that it gives you everthing after the command
6async def hellothere(ctx, *, msg=''):