Trying to make a copycat dynobot ?afk command in twitch

I want to make a command where you can type your afk and it shows what you have typed such as how dyno bot does.
I can’t figure out how to do it since when I got ?afk $(user) I have set your afk: $(1) $(2) $(3)… it shows null if there is no argument? Any way to do this?

Unfortunately nightbot doesn’t track users’ states: AFK system for Nightbot? - so something like this can’t be implemented.

There are some other utility bots out there that can use this function that is multiplatform (but is NOT a replacement for nightbot). I personally use supibot which can also be added to your discord upon request.

Not trying to keep track of states, just want nightbot to display “user I set your afk: ___”
It’s a little community joke. Tried doing it with arguments but still can’t figure it out

Ahh. My apologies, I misunderstood. In that case, you want:

!addcom !afk $(user), I have set your afk: $(query)


1 Like

It’s all good, Thank you!

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