Nightbot Tag multiple people

Asked Jul 28, 2020·3 replies·Last activity 6 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

Is there any way to make Nightbot tag multiple people? Like if I have a command !scenario, and 2 people in chat asks for the scenario, is there a way to do like !scenario @member @member and have Nightbot respond with "@user1 @member response"?

Currently the command I have is: !addcom !scenario @$(touser) bla bla bla. But this only works with 1 user at a time.

3 replies

Use query

!addcom -cd=5 !scenario $(query) response

Is there a way to make it so if a user does not tag anyone that Nightbot would tag the user that sent the command? And if a user tagged someone, it would be like what I mentioned above.

Yes

!addcom -cd=5 !scenario $(eval decodeURIComponent(`$(querystring)`)||`@$(user)`) response