Current !mods and !vips commands

Asked Feb 1, 2022·3 replies·Last activity 4 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.

buenos dias existe manera de crear un comando tipo !vips o !mods y que el bot me responda con los nombres que estan conectados? es decir !vips y aunque tenga 30 vips en el canal el bot solo me responda mediante texto de los que estan en online

3 replies

Hey @Peppy Sheep!

We only offer support in English.

Please use the search bar before opening a new topic as I already answered that question:
/t/show-current-mods-in-chat-command/1534605597201273058

!mods:

$(eval a=$(urlfetch json http://tmi.twitch.tv/group/user/$(channel)/chatters).chatters.moderators; a.length<1?`No moderator currently online`:`Moderator currently online: ${a.join(', ')}`.slice(0,400))

!vips:

$(eval a=$(urlfetch json http://tmi.twitch.tv/group/user/$(channel)/chatters).chatters.vips; a.length<1?`No VIP currently online`:`VIP currently online: ${a.join(', ')}`.slice(0,400))

Good morning and apologies for not following the rules and guidelines as i´m new in this area. I´d like to know if there´s any way that when that command is executed I can see my nick type result for @member and another vip to see this with his nick highlighted @member ..... is this possible?