Skip to content
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

Federation Ban from Rose Bot #45

Open
louanfontenele opened this issue Aug 4, 2024 · 6 comments
Open

Federation Ban from Rose Bot #45

louanfontenele opened this issue Aug 4, 2024 · 6 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@louanfontenele
Copy link
Contributor

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
Copy link
Contributor Author

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

@louanfontenele
Copy link
Contributor Author

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 : 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 : 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
Copy link
Contributor Author

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 : Demote yourself from a fed.
  • /myfeds: List all feds you are an admin in.

@louanfontenele
Copy link
Contributor Author

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 : Information about a federation.
  • /fedadmins : List the admins in a federation.
  • /fedsubs : List all federations your federation is subscribed to.
  • /joinfed : 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 : List all the federations that a user has been banned in.
  • /fedstat : Gives information about your ban in a federation.
  • /fedstat : 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.

@Sp3rick
Copy link
Owner

Sp3rick commented Aug 11, 2024

Nice idea

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

@Sp3rick Sp3rick added enhancement New feature or request good first issue Good for newcomers labels Aug 11, 2024
@louanfontenele
Copy link
Contributor Author

Nice idea

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

Thank you so much. :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants