Commands|Users|Limitation

Asked Dec 4, 2022·3 replies·Last activity 3 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 it possible to make a nightbot twitch command so that one user can write it 1 time?

3 replies

Hey @Icy Dove!

I'm not sure I understand, you want to allow users to call a specific command only once and then deny the following calls from that user, have I got that right?

What should be the command's response upon the first call from an user?
And do you want an error message to be displayed if the user already used the command (if so, anything specific?), or do you want it to fail silently?

Those are questions I shouldn't have to ask: the posting guidelines ask to be specific (link expired).

I created a command ! random , but I want 1 user to be able to enter this command 1 time, is it possible to do this?

That doesn't answer my questions.
Yes it's possible, although hacky.