So I'm coding a discord bot and wondering how I would do this
If the user inputs
~embed Title Description Colour
It will output an embed with the requirements.
How would I do so?
And thanks @André
Heres my code : https://ghostbin.com/paste/uetpj
One way to do it would be with a character that the user needs to use to separate the fields. Like
|
or;;
. Something the users wont usually type in the messages.Then you can split the message with that character.
And then verify if the user gave all the arguments required:
And finally you would need to generate the Embed.