I'd like to get and print the number of people's saying, say, 'checkup'
. But Nightbot(Youtube, Twitch Chat Manager) don't serve individuals' counter.
If a user say !checkupcount
, they get the number of calling it.
But, with this solution I need one more thing.
It is first time to ask in here, so I'm worrying about kind of being rude for those who answer (because I didn't give any help to others...). But if possible, I'll try to help other people, w.r.t. figuring out some solution that doesn't need professional coding skill.
With nightbot only, I don't think it's possible to do what you request. I think, though, that you could obtain the expected behavior by creating yourself a custom app using nightbot's api.
You could implement a new way of creation of commands, in example implementing a method that will handle two POST
requests: one to a db containing a data structure that will hold your ID-Integer couple and the other one to the nightbot api; this is a link to the nightbot api to show you how to set up this request.
Of course, you'll need to handle the call to those commands and, in the same way, you can handle a POST
request to retrieve the data from the db and another one to send a message to the chat of your channel, of which you can see an example here.
P.s. In order for you to get a better experience on so, I suggest you to read this FAQ