GroupHelp icon indicating copy to clipboard operation
GroupHelp copied to clipboard

Federation Ban from Rose Bot

Open louanfontenele opened this issue 1 year ago • 6 comments

Feature Request: Federative Ban

I would like to propose a new feature called Federative Ban. The idea is to allow administrators who create a federation to add groups to that federation, and when they use the command /fedban <@username>, the specified user is banned from all groups that are part of the federation.

Feature Description

  • Federation Creation: An administrator can create a federation and add multiple groups to it.
  • /fedban Command: When the /fedban <@username> command is used by a federation administrator, the mentioned user will be banned from all groups that are part of the federation.

Benefits

  • Facilitates the management of problematic users across multiple groups efficiently.
  • Reduces the manual work of administrators in banning users individually from each group.
  • Improves security and harmony within federations of groups.

Thank you for considering this request. I am available to discuss further details about the implementation of this feature if needed.

louanfontenele avatar Aug 04 '24 14:08 louanfontenele

You can use other name then Federation. You can create a new one.

louanfontenele avatar Aug 04 '24 14:08 louanfontenele

Federation Owner Commands

These are the list of available fed owner commands. To run these, you have to own the current federation.

Owner Commands:

  • /newfed : Creates a new federation with the given name. Only one federation per user.
  • /renamefed : Rename your federation.
  • /delfed: Deletes your federation, and any information related to it. Will not unban any banned users.
  • /fedtransfer <reply/username/mention/userid>: Transfer your federation to another user.
  • /fedpromote: Promote a user to fedadmin in your fed. To avoid unwanted fedadmin, the user will get a message to confirm this.
  • /feddemote: Demote a federation admin in your fed.
  • /fednotif <yes/no/on/off>: Whether or not to receive PM notifications of every fed action.
  • /fedreason <yes/no/on/off>: Whether or not fedbans should require a reason.
  • /subfed <FedId>: Subscribe your federation to another. Users banned in the subscribed fed will also be banned in this one. Note: This does not affect your banlist. You just inherit any bans.
  • /unsubfed <FedId>: Unsubscribes your federation from another. Bans from the other fed will no longer take effect.
  • /fedexport <csv/minicsv/json/human>: Get the list of currently banned users. Default output is CSV.
  • /fedimport <overwrite/keep> <csv/minicsv/json/human>: Import a list of banned users.
  • /setfedlog: Sets the current chat as the federation log. All federation events will be logged here.
  • /unsetfedlog: Unset the federation log. Events will no longer be logged.
  • /setfedlang: Change the language of the federation log. Note: This does not change the language of Rose's replies to fed commands, only the log channel.

louanfontenele avatar Aug 04 '24 15:08 louanfontenele

Fed Admin Commands

The following is the list of all fed admin commands. To run these, you have to be a federation admin in the current federation.

Commands:

  • /fban: Bans a user from the current chat's federation
  • /unfban: Unbans a user from the current chat's federation
  • /feddemoteme <fedID>: Demote yourself from a fed.
  • /myfeds: List all feds you are an admin in.

louanfontenele avatar Aug 04 '24 15:08 louanfontenele

User Commands

These commands do not require you to be admin of a federation. These commands are for general commands, such as looking up information on a fed, or checking a user's fbans.

Commands:

  • /fedinfo <FedID>: Information about a federation.
  • /fedadmins <FedID>: List the admins in a federation.
  • /fedsubs <FedID>: List all federations your federation is subscribed to.
  • /joinfed <FedID>: Join the current chat to a federation. A chat can only join one federation. Chat owners only.
  • /leavefed: Leave the current federation. Only chat owners can do this.
  • /fedstat: List all the federations that you have been banned in.
  • /fedstat <user ID>: List all the federations that a user has been banned in.
  • /fedstat <FedID>: Gives information about your ban in a federation.
  • /fedstat <user ID> <FedID>: Gives information about a user's ban in a federation.
  • /chatfed: Information about the federation the current chat is in.
  • /quietfed <yes/no/on/off>: Whether or not to send ban notifications when fedbanned users join the chat.

louanfontenele avatar Aug 04 '24 15:08 louanfontenele

Nice idea

Currently there are many features scheduled to be added and that will be one of those

Sp3rick avatar Aug 11 '24 16:08 Sp3rick

Nice idea

Currently there are many features scheduled to be added and that will be one of those

Thank you so much. :D

louanfontenele avatar Aug 11 '24 23:08 louanfontenele