Mod command to promote the song at the end of the queue to the top

Asked Oct 22, 2020·1 reply·Last activity 5 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'm a newbie to nightbot, so apologies if I'm using wrong terminology.

I'd like to give our mods the ability to promote the most recently added (i.e. last) song to the very top. Not sure if there's any way to do this? Presumably I'd need the length of the queue (that number being equal to the the last song on the list), then do something like:

!promotelatest -cd=100 -ul=mod -a=!songs promote <length-of-queue>

But, how do I get the "length-of-queue" value?

thanks!

1 reply