-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create voice kick command #2
Comments
Tentative idea: allow this feature to be disabled on a per-server basis? |
Maybe allow the feature to be usable on non-temp channels as well (configurable on a per-server basis, as described previously) |
Agreed with the first part, though I wonder if per-server config for something this fine-grained is something anyone is going to use. I have a feeling a blanket on/off switch would get more use, though that use may indeed be zero if previous stats are anything to go by.
Seems like it couldn't hurt. I feel like they'd already know if they're eligible to vote anyway, and it would just be repeating what the user says in the next message, so the person calling the vote might as well just type it out in a normal message. So I'm kind of torn on this one, since it's pretty simple but also I don't know if it will end up being useful.
They will be pinged when the vote is called ( |
A couple of "obvious" things that might need writing down:
|
And, in this context, what defines an admin? Is it a user with I think I agree now with the notifying - it's likely they're being kicked for a reason and they'll probably already know what it is. This is an edge case but - all users eligible to be pinged are going to be pinged. What if there's so many users that the message length exceeds 2000 characters? (This would need 62 people with 32 character long nicknames at minimum, not accounting for overhead with the rest of the message. This number is very high, but could theoretically happen. Probably not worth considering though.) |
So I've half-done this (kinda). TODO:
|
Going to split out the persistence of in-progress votes into another issue, because this feature is currently "Good Enough". |
&voicekick
: kick a user from voice chat (calling a vote if necessary).If the voice chat is a private channel (or public-but-temporary channel - see #1), and the owner runs this command, it should work no questions asked. Otherwise, it should call a vote with the existing users in the voice chat.
If there is a guild AFK channel specified, this command must not work in it.
If there are some users in the voice channel who are eligible to vote but who cannot see the channel with the votekick in it, then the command must fail.
If the person is kicked, they also get a permission override on the channel denying them connection privileges. This override is removed after 10 minutes have elapsed.
How the vote works:
When the vote starts, everybody eligible to vote is pinged.
The text was updated successfully, but these errors were encountered: