Command/Variable Help

What is the variable or how do you make it show the number that the command was used? Like, !commandused and the response is like This command was used (number) times. Like in this stream, someone did !pewdiepie and it said {$user} voted for PewDiePie! (number) people voted for PewDiePie in this chat!

Just look at the docs: https://docs.nightbot.tv/

See the User link in the Variables area? That page explains how to use the user variable, which prints the name of the user calling the command.
See the Count link in the Variables area? That page explains how to use the count variable, which prints how many times a command has been used.

!addcom !pewdiepie $(user) voted for PewDiePie! $(count) people voted for PewDiePie in this chat!

Thank you! This helped me!

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