Skip to content
Advertisement

How to make an argument on discord.py to be the last words

I am making a discord bot that one of the features is that you can use a command to make the bot embed thing into chat. This is the code:

JavaScript

But when I try to embed more than one words it only embeds the last one. Why does it do that?

Advertisement

Answer

You need to add a * before the final argument to take in the full string like this:

JavaScript

So your function will look like this:

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement