5. LFG voice channels
A complete Looking-For-Group system for CS2. Players join one trigger voice channel — EloLink instantly clones it into their own voice room with their FACEIT level tagged in the channel status. Auto-deletes when empty.
What it looks like for your members
- Player joins the trigger voice channel (e.g. 🔍 Join to LFG).
- EloLink creates a personal voice channel named after their FACEIT nickname and level, sets a status like «s1mple — Level 10 · 1/5», and moves them in.
- EloLink also posts a small panel in the LFG status text channel with the player’s name, level, current spot count and a Join button.
- Other members can join via the button or just drop into the voice channel.
- When the channel empties, EloLink deletes it after a few seconds.
Setup (three steps)
- Run
/setupor/settingsin your server. - Click LFG voice. EloLink walks you through three picks:
- Category — where temporary voice rooms get created. Pick or create a category called e.g. «CS2 LFG».
- Trigger voice channel — the channel members join to spawn a personal room. Usually named something like «➕ Join to LFG».
- Status text channel — where EloLink posts the panel with available rooms. Read-only for members.
Owner controls
The creator of a voice room is its owner. The status panel for that room exposes buttons:
- 🔒 Lock — instantly cap the room. Anyone outside the current participants can’t join.
- 👥 Set slots — pick 2, 3, 4 or 5 (the CS2 lineup ceiling).
- 🎯 Level range — set min/max FACEIT level. Players outside the range can’t join.
- 🚪 Disband — closes the room immediately; everyone is moved out, room is deleted.
Level role tagging (optional)
Turn on Level tags in /settings → LFG voice. When enabled, EloLink mentions the FACEIT level role of the room creator in the LFG status text channel — outside the embed, so it actually pings. Useful for high-level rooms wanting more high-level players.
When level tags are off, the panel renders silently (no role pings).
Reliability and cleanup
EloLink persists every active room to its database. If the bot restarts mid-session:
- Existing rooms keep working. Their state is recovered from the DB.
- Owner controls reattach to the panel buttons via stable IDs.
- Auto-cleanup of empty rooms continues on the next event.
Disabling LFG voice
Open /settings → LFG voice → Reconfigure. EloLink will ask the three picks again, or you can delete the trigger channel in Discord — EloLink stops creating new rooms when the trigger is gone.