Trying to make a copycat dynobot ?afk command in twitch

Asked Jul 6, 2020·4 replies·Last activity 6 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

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?

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.

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

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

It’s all good, Thank you!