I’m experimenting with the code given in “Getting Started with Chatbots & IRC” (twitchdevs)
and I’m trying to work with the function ‘onMessageHandler’ to get the user who typed the message it handles. Like for example, on line 34 of that code, I want it to say:
client.say(target, **USERNAME**, You rolled a ${num});
How would I get that information from within the message handler function?