Question to Feature Arguments

I would like to Create a command in Discord.
The Command is: !playwithfriends (And a Game).
The Answer is: @(user) would like to play $(2) with any guy.
But when i write !playwithfriends CSGO then answere the bot … would like to play none with any guy.
Why didn`t say the Bot CSGO and he say none.
Sorry for my English im German

Use $(query) instead of $(2)

Ok but i have the error i don´t must write $(2) because i must write $(1) because its the first argument

If you typed !playwithfriends CSGO, then CSGO is the first argument. You can use $(1) for this, or you can use $(query) to allow the user to type in game names with spaces.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.