I am currently coding a bot for my twitch channel. I am pretty new to coding and I am using this to practice/get better at coding. I am trying to make a command that on use takes the username of the person who typed the command and along with a random number generator gives an output. The problem I am having is that I don’t know how to get the username of the person who typed the command. The rest of the command is working perfectly. All help is greatly appreciated.
For me in my code I just hit
payload.user or grab the
So to get the username or display name will depend on your code or if you are using a library refer to the library documentation
Thanks this works for me. I really appreciate the help.