Can someone explain touser command

I am new to nightbot and using it on a YouTube chat and was wandering if I created the following command would nightbot tell the user “Goodbye”? Or can someone explain what the “touser” means?
!commands add !bye /goodbye $(touser)

You can view documentation for all of Nightbot’s variables here: Variables List - Nightbot Docs

The touser variable prints the first argument given to a command (if one was provided) or the name of the person who used the command (if no argument was provided).

This command will say Goodbye to the person whose name is typed after !bye or the name of the person who typed !bye:

!commands add !bye Goodbye, $(touser)!

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