Call an user by command

My idea is to create a command that allows to punch someone.
You write: !punch user
And then it should appear like this: $(user) has punched $(the user you wrote above)

So my question is, how can i call the user I wrote to print it in the command message?

Take a look at the touser variable: https://docs.nightbot.tv/commands/variables/touser

1 Like

Thank you so much man. It worked perfectly

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