title: Discord bot that accepts more than one word as an argument
body: <p>So, I'm making a bot that is able to warn users. I was wondering if there is a way to make it so that it can accept more than one word in the &quot;reason&quot; parameter, without having to write quotation marks.</p>
  <pre><code>@client.command(name = &quot;warn&quot;)
  @commands.has_role(&quot;staff&quot;)
  async def warn(ctx, member: discord.Member, reason = &quot;No reason given&quot;):
      publiclog = client.get_channel(&quot;channel id&quot;)
      embedVar = discord.Embed(title=&quot;:warning: Warning&quot;, description=f&quot;{member} has been warned&quot;, colour = discord.Colour.orange())
      embedVar.add_field(name=&quot;Reason&quot;, value= reason, inline=True)
      embedVar.add_field(name=&quot;Warned by:&quot;, value= f&quot;{ctx.author}&quot;, inline=True)
      embedVar.set_thumbnail(url=member.avatar_url)
      await ctx.send(f&quot;&lt;@{member.id}&gt; has been warned. Reason: {reason}&quot;)
      await publiclog.send(embed=embedVar)
  </code></pre>
  <p>So, right now, if a staff member calls the function and they write <code>&gt;warn @user they were mean</code>, the bot will only write as a reason &quot;they&quot;. Is there a way to make it so that it writes the whole reason, without having to write <code>&gt;warn @user &quot;they were mean&quot;</code>?</p>