[CustomAPI] Queue system

Asked May 28, 2018·163 replies·Last activity 1 year 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.

Intro

I've been asked to create a queue system/command for a channel, even though on the forums we have a couple queue systems available, through for example the creative usage of the quote system (link expired), I thought this would be a fun little project to play around with various stuff, Nightbot headers, Nightbot API, OAuth.

The code behind the system is available at: https://github.com/xgerhard/nbqueue
If you have improvements or issues feel free to post them there, or let me know in the comments here.

nbqueue

A basic queue system for Nightbot. The usage is pretty straight forward, !join and !leave for users to enter or leave the queue, the user can check their position in the queue with !position. Moderators can !open or !close the queue and pick a user from the queue with !next.

The command supports multiple queues, but there can only be one active. Only the active channel is joinable. Moderators can manage queues by using !q add $queueName or !q del $queueName, to switch to a different queue use !q set $queueName. To empty the queue a moderator can use !q clear, or remove one user by using !q remove $position, where $position is the position of the user in that specific queue (this position can be found by using !q list).

User commands

  • join $message - Joines the current queue with optional message "$message", this message is displayed when the user will be picked from the queue
  • leave - Leaves the current queue
  • position - Displays the position from the user in the current active queue
  • list - Displays a link to a webpage with the full list of users in the queue
  • info - Displays the current queue information, if the queue is open and how many people are in it

163 replies

  • who $x - Displays the next $x people that are in the queue

Moderator commands

  • open - Opens the current queue
  • close - Closes the current queue
  • next $x - Picks and removes the first $x users from the queue, the $x is optional
  • random $x - Picks and removes $x random users from the queue, the $x is optional
  • clear - Clears the current queue
  • add $name - Creates a new queue with the name $name
  • del $name - Deletes the queue with name $name (the default queue can't be deleted)
  • set $name - Will set the queue with name $name as active queue.
  • remove $position - Will remove the user with position $position from the queue
  • userlevel $userlevel - Will set the userlevel of current active queue, so you can create for example sub only queues. Available userlevels: moderator, vip, regular, subscriber, everyone.
  • ul $userlevel - Short version of the userlevel command
  • promote $position - Will promote the user with position $position to first position of the queue (next person)
  • setlimit $number - Will set a limit of users that can join the current active queue
  • adduser $name - Will add user $username to the current active queue (Twitch only)

Installation

Sign in with Nightbot here, the installer will add the selected commands to Nightbot: https://nbq.gerhard.dev/install/auto

Changelog, December 8, 2018 - userlevel option added

This will give you the option to set your current queue open for a specific group of users.
The userlevel option is available directly from the !q command, for example: !q userlevel subscriber.

If you want a separate !userlevel command, it is now included in the automatic installation. If you have installed before this date you can add the alias command yourself:
!commands add !userlevel -a=!q userlevel $(query)

Changelog, April 29, 2019 - random, promote commands added

These commands can be used to pick random users from your queue, or reward a user by promoting the user to the first position of the queue. They are available through the !q command, for example: !q random or !q promote 2 (where 2 is the queue position of the user).
If you want separate commands for these functions, they are now included in the automatic installation. If you have installed before this date, you can add the alias commands yourself:
Random: !commands add !random -a=!q random $(query)
Promote: !commands add !promote -a=!q promote $(query)

Changelog, Feb 21, 2021 - Manual add users

For Twitch channels, moderators can now add users manually to the queue.
Usage is: !q adduser $username for example !q adduser xgerhard

Hello, I would like to thank you for your work on this. I have implemented this on a channel I mod. The streamer uses restream to stream on Youtube, Twitch, and Mixer. Nightbot is setup on only youtube as that is where the majority of his audience participates. The queue system works great until a Twitch or Mixer user tries to join. Is it possible to have a mod manually insert a username in the list? Sorry if this sounds like a noobish question, but I am a noob at all this lol... Or would it be easy to modify or add any command to allow this?
Thank you again for this queue system you have created.

Heya, thanks! Unfortunately this is not possible at the moment. The system is currently setup that only the user who types the command can join, in the background Nightbot will send that user's ID which I link to the queue.

Edit: this feature is possible now

Hey,

i am mod in my friend's channel and i am having issues using this command.. whenever i use any of them commands the nightbot returns me the message "Remote Server Returned Code 500". Do u know what is happening or what am i doing wrong ?

Thanks in advance.

@Sleek Seal Heya, sorry about that, could you try again, the error should be resolved.

Hey, thanks for making the API! Really loving it and making it easier to play with people on Twitch. I have one thing I need to ask, whenever I open up a queue and I type !list, for some reason the list seems to be empty. It just says "Queue: Default Status: Open" but nothing else. I have it on both Youtube and Twitch, is it possible it can't do both?

Heya! If you click/tap on that sentence "Queue: Default Status: Open" the list of users that are in that queue will show. If you click/tap on it again the list will be hidden again.

It should work for both Youtube and Twitch however they most likely will be treated as seperated channels. So Youtube users can't join the Twitch queue, and vice versa.

is it synonymous in German thanks in advance.

You mean if there is a German version? Currently only English. However you can change the commandcodes manually to German during the installation.

could you please do that for me, I did not know how.

If I now have a Custom Waiting Room, how can I activate it?

You can use this, just replace queuename with the name you gave the room.
!set queuename

When my subs join, the position always states they are all $1 in queue. A way to fix it?

Frisky Unicorn said:
When my subs join, the position always states they are all $1 in queue

This is fixed, thanks for reporting!

Is it possible to translate the responses of Nightbot ?

Heya, this is currently not possible.

Ich raff das hier nicht mit dem Token, was da so schlimm dran sein soll.

Zwei Stunden meiner Zeit verschwendet um dann zu sagen, komm lass es sein .. wäre nice zu haben, aber wenn will ich es schick haben, sodass man den Quote wie folgt hätte mit !addquote - [name] [ID] [Quote] [Game] [Time]

i dont understand how to add this queue thing at all can you tell me step by step how to do this because i am really confused

Click the installation link in the start post, sign it with Nightbot, hit allow, hit install commands.🙂

Love the API for this queue, great work! Question: would it be possible to add a feature that restricts the users that can join to viewers, followers, and subs?

@Dreamy Whale Hiya, I just added the option to set your queue open for a specific group of users, see the start post for more info. I use the userlevels available in Nightbot, so the followers only will not be possible.

Thanks you so much @Gerhard! This new feature will be very useful with the already great queue system you’ve created for us.

@Gerhard Hi! I am a mod for a twitch channel and just had the streamer install this queue system. He wants to know if there is anyway that, when the queue is closed, the !list command could change to "The queue is currently closed."

Hiya, thanks for trying out the queue command! There is currently no way to do that.
For a lot of channels it is important that there is a way to view the list even when the queue is closed, so this most likely will not be added, sorry.
To view the queue status you can always reference to the !info or !q info to see if the queue is open or closed (+ other queue details). When someone does want to join while the queue is closed, the queue closed message will be displayed in the chat.

A streamer I mod for has recently added this to their stream, however once we set the user level to subscriber only... It prevents VIP's who are also subscribers from being able to join the queue with the message "The queue "..." is currently only open for "subscribers".

Is this working as intended? or is there a way we can fix this?

Hiya, good find, this should be fixed now! The VIP status wasn't checked correctly.

Love your work and appreciate your time! Can confirm 100% fixed.

Is There Any way i can get nightbot to response with something else than successfully added when i add a quote

@Honest Squid

Use this command response:

$(eval a=`$(urlfetch https://twitch.center/customapi/addquote?token=PRIVATE_TOKEN&data=$(querystring))`;`[CUSTOM_RESPONSE_HERE]`)

Replace PRIVATE_TOKEN with your private token (16 characters long) and [CUSTOM_RESPONSE_HERE] with whatever you want Nightbot to say.

Hi is there any way that i can Make a Command Like with using two different $(Touser) .. So if i type
join Zioncage Rexthebest nightbot responds ZionCage Epic ( Rexthebest ) ??

@Honest Squid

Is this related to the quote API?

Yes it is for the queue quote api

This will create a new command called !epicjoin that will add "[name 1] - [name 2]" to the queue, and will respond in the chat with the message "[name 1] Epic ([name 2])"

!addcom -cd=5 !epicjoin $(eval a=`$(urlfetch https://2g.be/twitch/nbqueue/public/?q=join $(1) $(2))`;`$(1) Epic ($(2))`)

Thank u So much .. Have a bless day

Hello! I currently use this system and I wanted to make a request to anyone out there to add a couple commands if it is possible.

I was looking for a command so a mod can add someone else. Like if I typed "!join Ninja" ninja would be added to the queue. I realize this wont be done with the !join command though because you can use !join and add a message to it.

I was also curious if someone can add a feature where mods can move people in the queue. For example if there are 4 people in the queue and Shroud is number 3, I could type !move [id] 1 Then it would put him on the top of the list.

If this is possible please let me know! Thank you for the amazing api!

Hiya, thanks for the suggestions. The option to add another user is being worked on.
The moving option, I'm investigating what the best way to do this is. I don't think there will be a manual position feature, but I'm looking at a command to boost a user to the first place of the queue, just like the !songs promote feature from Nightbot.

The 'promote' command to move users to first position of the queue is now live, please see the start post for more info.

Hello,
is there a list of the commands if i want to add them manually?
im a mod on a channel and dont have access to his nightbot.

Hey @Stellar Chipmunk!

I think if you become manager of their Nightbot you can add it with the auto install, you'll have to give the streamer your user ID and he'll have to add you as manager, both actions are done from here.

Hello,

Thanking for making this API. It has made taking art requests a lot easier during stream for me!
I do have a question: Is there a way to limit the max queue size?

Thank you!

Hiya, glad to hear that it helps you out! I will have a look at an option to set a limit to the active queue, currently there is no limit.

Ok, added a subcommand for it, so by default the limit is unlimited.

To change the limit, use for example: !q setlimit 10 to set the limit to 10.

Use !q setlimit 0 to change the limit back to unlimited.

Does the !who command no longer exist? It doesn't appear on the list of commands being added during the installation process.

Hmm, think it never was in there, must have forgot to add it.
Should be in there now, thanks for reporting!

Is there any way I can increase the user message cap?

Also is it possible to save the user message to the Queue list window?

Hiya, what's the usecase for a longer message? I build it in there for people to leave for example their gamertag while joining the queue, where I think 50 characters should be enough.

I'll check for an option to see the user's message on the queue list page.

It's only because I'm gonna be using the queue command not so much for viewers games but for song requests on Guitar Hero streams and sometimes the artist and song combined makes for a message longer than 50 characters 😅

sweat_smile.png

Thanks for clarifying, I changed the limit to 100 characters. Hopefully that's enough!

@Gerhard Hello! I've been using nbqueue for several months now and it's been great for my viewers. Have you ever thought about extending the !next and !random commands so that it's possible to pull the next number of vips or subscribers? For example, !next 3 subs or !random 3 vips. That way I could give priority to VIPs and subs, but also make sure that anyone who joined the queue has a chance to play rather than just restricting a queue to only subs or only vips. Thanks for the work you've done on the queue system!

Thanks for the suggestion, I'll have a look at this.

Hiya, an update on this request.. I cant make it the exact way you explained, due to how the userlevels work for Nightbot. It will work slightly different.

Available UserLevel Values

  • owner - Channel Owner
  • moderator - Channel Moderator
  • vip - Twitch VIP (only for Twitch accounts)
  • regular - Nightbot Regular (users in the regulars list)
  • subscriber - Paid Channel Subscriber
  • everyone - Normal User (default)

I use these userlevel values to determine what kind of permissions or group the user belongs to. This userlevel is saved when somebody joins the queue. The userlevels work in the order as shown above. One thing about userlevels is that a user can have only one userlevel, while it might be eligible to multiple of these groups. For example if a moderator is also a subscriber, the saved userlevel will be moderator, since its' the highest one in the list.

What I've done for the queue system now is, when you specify a specific userlevel to be picked next, it will pick the next user with that userlevel AND userlevels above.

This means:

  • !next 1 everyone - Will pick the next user with userlevel: everyone, subscriber, regular, vip, moderator or owner (so yeah.. everyone)
  • !next 1 subscriber - Will pick the next user with userlevel: subscriber, regular, vip, moderator or owner
  • !next 1 regular - Will pick the next user with userlevel: regular, vip, moderator or owner
  • !next 1 vip - Will pick the next user with userlevel: vip, moderator or owner
  • !next 1 moderator - Will pick the next user with userlevel: moderator or owner

The same goes for the !random command. If any of this is unclear let me know.

I like your approach, since this is probably closer to how I would use it in practice. I tend to think of subscribers and vips (and moderators) as the same group—people who are committed to the channel—and having the additional granularity of a Nightbot "regular" is fantastic. I'll give !next 3 subscriber a try the next time I've got a waiting list (which I think is going to be tomorrow).

I appreciate you looking at this--I think it's going to really help make my queues a little easier to manage!

Sounds good!
Just a side note, if people were already on your list/queue before this update, their userlevel will be set to 'everyone', so you might want to clear the queue first, when people join again their proper userlevel will be saved.

The !list command doesn't show the external link to view those in queue. It only shows up as ***.

How can I view the list of those in queue?

Thanks.

@Tiny Ram

Seems like you’ve blocked all hyperlinks in your Twitch chat settings. Follow these steps to fix that:

Click here to go to your Twitch chat moderation settings > Chat Options > Block Hyperlinks > Disable

Is it possible to add this custom API to nightbot that isn't your own, i'm a nightbot moderator for a streamer, and he has asked me to "create" this queue system. so i wanted to add this to his nightbot. Is that possible?

Yeah, all the lines starting with !commands add ... you can just copy paste in your chat and send it.

What are you seeing when you go there, seems to work fine for me?

Yes, you're right, everything works. If I cross from another country. From Russia poorly loaded. ;( Thank you very much!!!

Hi. Your invention helps me a lot!
I had a problem. It would be very convenient to remove the user from the queue manually. From the list. without using the chat command. (how we delete songs from the queue when ordering, click on the red cross in the interface). Is it possible to do this?

Silent Wolf said:
I had a problem. It would be very convenient to remove the user from the queue manually. From the list. without using the chat command.

Woops, I missed this question, this is currently not possible no. Thanks for the suggestion, I will see if there is more demand for it, I feel like the 'remove' option is barely used, since users are automatically removed when the user is chosen from the queue.

Hey is there a way to use this system that allows ambiguity? I would like to use the queue system to input a list of numbers rather than users. However, that isn't currently possible as the bot checks if the user is already in the list.

Is this possible? Thanks!

Hiya, sorry, this is not possible with this system, the current setup only allows one entry per user in a queue.

Xgherhard, hello i was wondering if it is possible to add a feature of sorts that will automatically put the user into a specific queue by typing a simple command like !join Queue 1(but the Queue 1 will be named differently according to the owner). ik that this queue system already does something of a sorts but im curious if it will work making multiple queues running at one time if not then you have a great system here anyways thxs for your time reading this and the time u took to make this awesome queue system

Hiya, sorry late reply, this is something I do want to add, it's on my to-do list. Not sure when it will be done, but I will let you know when it's ready.

Hello,
I find its queue system great, lately I've been using it a lot, but there is something I would like to know. Is there a way to limit the queue for people who have spent a certain amount of time on the channel, for example, only those who have been following for 2 days the channel can join the queue.

Hiya, it's not possible to setup a certain follow time requirement at the moment, you can make it followers only, but not based on a certain amount of time.

Hi! Not sure if you're still helping with this but a friend of mine has this setup and keeps getting the "Remote Server Returned Code 500" error for all of the commands in his chat. Is there anything that we can do on our end to fix this or is this solely something that you can handle? Thanks in advance!

Hiya, thankns for letting me know, fixed now!

Thanks so much! You're the man!!

Is there anything we can do to fix it if it happens again or should I just let you know? Appreciate the help seriously, you're awesome for doing this so quickly

No problem! Not much you can do about it unfortunately, is a server/host issue. But can always ping me whenever you see an error like that.

Hey bro! Is there a way to make the bot message to that individual who are first or second in queue a message like a code or message when they reach 1st or 2nd ??

love the bot, if only it could automate the message when the viewers reach #1 or #2 spot, would be even better thanks

And then when they’re finished they type !leave and then the queue would be more automated in a sense rather than manually messaging each person the code or message when it is their turn

@Witty Ant hi there, thanks for your suggestions. Your suggestion about the codes is very specific to your use case, people are using this system in different ways, I unfortunately don't really see a way to add this feature.

About whose next in the queue, you can use !q who 2 to display the next 2 members in the queue. You could combine this with a timer to remind those people.
And people won't have to type !leave, when it's their turn (if the streamer uses !next for example), the user will automatically be removed from the queue.

Hey mate, is there a way to show position above 50+ ? When it goes above that it shows position is “0”

Do you have a link to the queue list of stream where this is happening, so I can see what's happening?

Nevermind, I've reproduced your issue. I'll update when this is fixed.

No but if over 50+ people join the queue, any joiner above 50 says they are position zero haha

Hi! I was wondering if its possible to customise the queue closed output? We are taking submission in queue blocks of five and would like to let the listeners know that the queue is closed but will reopen shortly.

Can you pls simplify this?
tell the comms to make add the queue?
thanks!

Hiya, it is currently not possible to edit the command output sorry.

can this be used for YouTube as well?

Hiya, yes this can be used for Youtube.

Hi there first of all thank you for releasing this for public use! I had a question so I've looked at the json and php files in this folder and I was looking for a way to edit some of the messages for example if nightbot replies with "this user have been removed and is no longer on the list" when a user removes themselves off the list I want to change it to say "this user has flown away" thats just an example lol. Basically I was looking for a way to edit those responses. Primarily I'm looking to shorten some of the messages nightbot displays as much as possible where I am able. I looked all over for a php file that had the messages in there I couldn't find it anywhere :/

Hey, sorry for the late reply, currently these responses are hardcoded in the code, so there is no real simple way of changing the replies, unless you host the project yourself.
Most of the responses can be found in this file.

Hey there @Gerhard, would it be possible to implement a command that allows people to add other users to a queue? I'd like to have my chat be able to nominate other channels to raid, which I will then randomly pick from.

Edit: I just searched the thread and found that this was requested before (Reply #43, I can't post hyperlinks as a new user), to which you replied saying it's being worked on. I'll just wait for you to finish. Thanks!

@Mild Lobster Hiya! Yes, it is something I considered, but haven't implemented yet, thanks for the suggestion though. When I build this feature, it will most likely be available only for the Twitch platform, so if you use the queue system for other platform this will not be possible.

Hi @Gerhard, I`ve seen in the comments that you are working on so we can have multiple Queue? and people on chat can choose on what queue to join?

Hiya, I did say something about that a while ago, however I have not really been working on this yet. So currently there can only be one active queue, so for now the streamer or mods have to switch the queue, if you want to manage multiple queues.
It's still something I want to add, however not sure yet how I want it to look like.

Hey, I need to translate the messages sent by the bot. How can i do that?

im streaming on youtube an the queue bot is messing up with error code 404

Hi, thanks for your work, I wanted to know if you can do this on streamelements.

No problem. Nope, this only works for Nightbot.

Enorabuena this application is 10. I use it on my channel and on several channels of friends so all my congratulations.
Just a couple of questions, the command that returns! List in mobiles and in tables, the link cannot be clicked, could it be fixed?

And the second, I would like to change all the language responses. I would not care if it is possible to host the project to do it more comfortably, is it possible? Thank you very much in advance

Hi, we started using this queue system on a Discord server to allow users to submit things for a streamer to review and it works just the way we need it to! However, I noticed above that it looks like the message length for the !join $message command is limited to 100 characters currently after it was bumped up from 50. The way we're using it, the messages the users are submitting may be several hundred characters long. Is this something we can easily configure, or is it something that would have to be changed on the backend?

Hiya, thanks for reporting the link bug, however Twitch doesn't seem to link my .be domain, I'll see if I can use a different domain to fix that.

It is currently not possible to change the language of the responses, unless you host it yourself. Check https://github.com/xgerhard/nbqueue to see how to set it up.

Hiya, thanks for the suggestion, however this is not something I will implement, since the limit of a complete message will be 200 regardless, and I want to leave some space for leading/trailing text besides the user message.

Is it possible to add a feature that automatically removes inactive users from a queue? E.g. after they haven't written anything within the last 5 minutes or so?

Hi! I'm wondering if we can get a userlevel for "follower". I like to restrict my queues to Twitch users who are following my channel.

@Gerhard
Hey so first off, Thank you for making this! it is awesome and has helped a lot!
i dont know if it is a usual behavior but a channel i mod for is using this and we closed the default queue and it wiped everyone on the list after i refreshed to make sure it was up to date. maybe i did something wrong on my end though.

Thanks for your time! all the best.

@Dusky Unicorn Hiya, thanks for the kind words! I have not heard that behavior before, I'm not sure what went wrong there. The only time the queue is cleared if a queue is deleted, or if the 'clear' command is used, could it be someone mistyped clear instead of close?

i definitely used !close and even tried it in a queue i named. but i will do some more testing today and let you know if i run into a fix.

ok i figured out the issue. So when you close the queue and refresh the page it minimizes the tray of the queue and there is no indicator that it is minimized so it just looked like it was cleared. if it is possible to have an arrow to indicate if its minimized or not that would be great just to avoid confusion. but either way thanks again for the awesome work 😃

Ahh, ok, thanks for clarifying! Glad it didn't empty your queue then. Yeah, so how the list page works, it will auto expand the list of the queue that is currently open. So that would explain it being minimized on your page after closing and refreshing. But good suggestion, adding some sort of indication, I will have a look at that.

Im having an issue installing the que software with the link provided. I go through the process and I click "Allow" access to my twitch and a new window displays "something went wrong" i have tried using different browsers to do this and i still get the same message.

Hiya, could you try again, this is fixed now!

Hey is there any possibility of a followers only category for the command !userlevel $userlevel ??

I'm not able to remove people from queue on the queue website, is there a way?

There is not, currently you can only remove people by using chat commands.

!q remove <queue position number>
for example !q remove 1

Twitch users can now manually add users to the current active queue.
This command is mod/owner only, the usage is:

!q adduser $username for example !q adduser xgerhard

@Mild Lobster - pinging you, since you requested this a while back

Hello. Is it possible to manually add user to a queue including a message? When I try something like "!q adduser xgerhard message" nightbot on twitch replies "Remote Server Returned Code 500".

Yeah I'll look into that, and show a proper error there. Right now it's trying to find the user with username+message combined, which fails 😅

This should be fixed now, you can now set a message when you add a user.
!q adduser xgerhard message

Hello! I really appreciate the effort you put into making this! It has been a big help! I was wondering if there is a way to set multiple userlevels simultaneously? For example, if I want to open up some games to all VIP and moderators. Thanks again!

Hiya, a user can only have one userlevel, the highest in the list will count: https://docs.nightbot.tv/variables/userlevel
I implemented this the same way for the queue userlevel you set, so if you would set your queue open for Vips then Vips, Moderators & the channel owner will be able to join.

Hey, this works great, thanks!!! One question could it somehow be done to stack the join commands because the 5 sec cooldown skips people if they type in too fast.

Hiya! Yes, I can see this being a bit annoying, but stacking them is not technically possible I'm afraid, the 5 second cooldown is the minimum.
Nightbot will always send a confirmation when a user has succesfully joined the queue, so people can check if they were skipped or not.

Thanks, for the reply. Yup I tried to do some research and it is apparently impossible. I know that games like Marbles on Stream uses a bot to send the command to the games server and stacks the commands and I would love to figure out how it's done.

Hi xgerhard!

I have a simple queue that I use across multiple streams (shared queue system) for activity helps. I've started testing out your current work, and it's really great! However, I can't figure out a way to setup a shared queue. Copying the commands from one stream to another doesn't work, and makes a unique queue (I guess this is the intended behaviour, even if it uses the same access token)

Let me know if there is a workaround, thanks!

Hiya! Unfortunately it's not possible to share queues with different channels. The channel id is linked to the available queues. Currently I don't see a workaround for this use case.

question, how do you add these commands as a mod easily? I am not even sure I can manually add each and every command

Hey @Maple Llama!

Yes you can, use the !commands command, as shown in the changelogs in the original topic, or in the documentation.

Hey, I've noticed in a couple of comments over the last few years that you were considering adding a !join $(touser) type thing and I was wondering if that has come to fruition. Another question I have is whether or not we can find a way to make the responses for the commands customizable to a certain degree? For instance being able to change "Successfully joined queue" to add a bit more pizzaz?

Hiya! Unfortunately both these suggestions have not been implemented yet. And I dont think they will be anytime soon, currently maintaining the app but not actively working on new features. :)

Is there a way to move people around in the queue? like !q moveuser ohheyitstimmy 8 and it would move the user to number 8? or like !move instead?

Hiya, moving people to specific position is not possible at the moment, you can use the 'promote' action to move people in front of the queue.

Hello i have some questions, how can i make that viewers need to put a message ( or even 2 messages if possible ex: (!join queue name) to be able to join and if they don't do it like just typing "!join" it doesn't make them join, and can you have multiple queues open at the same time ?

Hiya! Currently there can only be one queue open. For your other question, there is no setting to make a message required, for now you might just need to skip the user if there is no message.

Hiya! I love the queue system here. It works the way a queue system should. I wonder if anyone knows of a way to charge a points deduction for either joining the queue or an integrated command to deduct points from another loyalty systems (SLOBS) cough, cough.

Hiya, thanks for the kind words. There is currently no way or plans to integrate with external loyalty systems.

Hello the command is great and all, but i do have problems now with it. i tried to reinstall it and now it sends this message : "Nightbot: You cannot use an aliased command from an aliased command."

I don't understand what's wrong with it now. I removed every command that has anything to do with it and tried to reinstall it and now i get an error that something went wrong.

Anything else i can try to fix it?

The queue system isnt working in most streamer i help mod and we are geeting an error

These issues should now be resolved. Sorry about that!

thank you yall keep up the awesome work

Hello hello !

I tinkered a bit with your commands and I must say I love it (exactly what I was looking for), however, I am wondering: is there a way to customize the reply messages ? Eventually make a list of possible, randomly selected replies when joining the queue ? Or is this managed on the webpage/server side and can't be done ?

Hiya! Glad you like it! Currently it's not possible to change the messages, these messages are indeed set serverside. For now no plans to make these customizable.

Hi! Does anyone know how it works? After installing the commands in nightbot, I see them, but they don't work in the chat. I've tried it on YouTube and on twitch

Hiya, what do you mean you can see them but they don't work? When you type !q in your chat, does nightbot respond?

Hi there! First, thank you so much for creating this and sharing it! I was wondering if it's possible to show whether the queue is open or closed with text on an overlay (like StreamElements)? Thanks in advance!

Sorry late reply, currently there is no overlay feature.

Hello, not sure if this was mentioned somewhere in the thread earlier, but !next seems to be limited to list only the next 3 people in the queue when it forwards the queue, even though you can !next 4 and advance it by 4 people. The !who command is not limited like this. Is there a way to fix it?

Hiya! Just to make sure I understand, do you mean that when you type !next 10, it only shows up to 3 users max?

That could definitely happen, and I’ll explain why. Chat messages have a character limit, so when it’s pulling the “next” users, it calculates how long the full message will be. If there’s not enough room, it stops and only includes the users that fit within that limit.

If you’re on Twitch, try it again now! Twitch allows longer messages than YouTube, I’ve tweaked the code so it should show more names there.

Yea, it was doing only 3 people for !next. There was no issue with character limits, since the !who command was doing a whole bunch of people. It works now, but for some reason the !clear command has now stopped working.

What are you seeing when you clear the queue, it seems to work for me.

Sorry, I don't check the forum often. Using !clear just doesn't do anything. There's no reply from Nightbot.

Didn't find your answer? The community is on Discord.

Ask on Discord