Add a command that requires multiple inputs

Asked Aug 17, 2021·1 reply·Last activity 5 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.

I want to add a command to Nightbot that requires multiple users to trigger it before it activates. Example:

User 1: !misplay

Nightbot: A !misplay has been initiated. Need 2 more in the next 60 seconds to confirm the misplay.

User 2: !misplay

User 3: !misplay

Nightbot: The !misplay is real. Streamer really screwed up this time! Todays misplays: [X], total misplays: [X]

Is it possible to add a command like this?

1 reply

Hey @Breezy Crocodile!

You won't be able to do this with Nightbot exclusively, you need to write an API that'll do that job, after that you can call it with Nightbot.