Your channel names can react to a lot more
Names and statuses could already show the game, the owner and a headcount. Now they can change based on them.
- How busy a room is:
{{@@num@@>=5 ?? busy}}. Comparing numbers in a condition never used to work at all. - How full it is:
@@limit@@,@@slots@@, and{{FULL}}, which knows a room with no limit is never full. - Whether it is locked:
{{PRIVATE ?? 🔒 // 🔓}} - Whether anyone in the room is streaming, not just the owner:
{{ANY_LIVE}}and@@num_live@@ - Who is in it:
{{OWNER:id}}for whose room it is,{{MEMBER:id}}for anyone inside,{{ANY_ROLE:id}}for a role (ROLE:idalready exists for matching owner role).
/position now also sets the number your rooms count from (starting number), so a server with permanent channels 1 to 3 can have its rooms carry on numbering from 4.
If you write a condition that can never match, the bot now tells you instead of quietly showing the wrong thing.
Full reference: https://auto-voice.io/docs/name-templates
Fixed
- Rooms sometimes showed up in the wrong order in the channel list, please let me know if you see anything funky, this part of Discord's API is notoriously hard to deal with.
/limit,/private,/public,/transfer,/reclaimand/nickcould answer "The application did not respond" while actually doing exactly what you asked.- A room's name could break if someone in it was playing a game that puts unusual characters in its status.
- New rooms now copy the creator channel's bitrate, region, video quality and age restriction.
Self-hosting
Pull the new version and restart. Migrations run themselves on boot, and this release only adds a table, so nothing existing is touched. Every feature above works on a self-hosted bot with no configuration.