Cog-Creators / Red-DiscordBot

A multi-function Discord bot
https://docs.discord.red
GNU General Public License v3.0
4.73k stars 2.3k forks source link

Allow `[p]ban` to hackban and rename `[p]hackban` to `[p]massban` #4419

Closed Jackenmen closed 3 years ago

Jackenmen commented 4 years ago

Enhancement request

Select the target of enhancement you are requesting:

Describe your requested feature

[p]ban should allow to ban users that aren't in the server (when user mention/user id was used of course as we can't otherwise ban them). [p]hackban should be renamed to [p]massban or [p]multiban. The command should still allow only user mentions and IDs to avoid ambiguity.

Jackenmen commented 4 years ago

To add, [p]hackban alias should probably stay for some time.

Drapersniper commented 4 years ago

Errrmmm why are we calling it mass ban? Why not just allow the ban command to be greedy and accept multiplier inputs, for the end user the end actions is a ban, if we are merging them we should only send a ban modlog and do so via the ban command no need for a separate command

Jackenmen commented 4 years ago

We're making it a separate command because having the argument be greedy is gonna be a confusing behavior when we support passing usernames and nicknames.

Drapersniper commented 4 years ago

So we aren't merging ban and hackban anymore ? But instead just renaming hackban to massban ? (Note this is still not clear to users that this allows (and is required) to ban people outside of the server)

Zephyrkul commented 4 years ago

Ban will ban/hackban a single person as needed. Massban will ban/hackban multiple people as needed.

The functionality of both are being merged. The argument parsing is being split between banning one person ([p]ban) and banning multiple people ([p]massban). This is all explained in the opening post.

[p]ban should allow to ban users that aren't in the server (when user mention/user id was used of course as we can't otherwise ban them). [p]hackban should be renamed to [p]massban or [p]multiban. The command should still allow only user mentions and IDs to avoid ambiguity.

Drapersniper commented 4 years ago

Ah awesome thanks a whole bunch xD I know it's hard to believe but I can read, I was talking about a the general user feedback that ban and hackban should be merged that happened in advance coding, but I appreciate your effort at trying to be useful.

Zephyrkul commented 4 years ago

I was merely answering your question:

So we aren't merging ban and hackban anymore ? But instead just renaming hackban to massban ?