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?
Trying to make a copycat dynobot ?afk command in twitch
4 replies
Unfortunately nightbot doesn't track users' states: (link expired) - 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.
Ahh. My apologies, I misunderstood. In that case, you want:
!addcom !afk $(user), I have set your afk: $(query)