I'm trying to make a command as always but i cannot use them with a space in between. This is my code at the moment.
@client.command()
async def cautionsign(ctx, msg):
embed = discord.Embed(title="Here's your caution sign!")
embed.set_image(url=f"https://api.popcat.xyz/caution?text={msg}")
await ctx.send(embed=embed)
For ex if i use
!cautionsign test
it will show a cautionsign with test on it but if i use
!cautionsign test test
it will just show test.
If anyone can help me i'd appreciate it :)