## Summary Add a new `/closecommunity` command so superadmins can close a community by community ID or Telegram group handle. Examples: - `/closecommunity 09f258490ac3d` - `/closecommunity @GrupoComunidad` ## Requirements - Command must be restricted to superadmins using `validateSuperadmin`. - Accept either a community ID or the community group/username as input. - After resolving the target community, send a confirmation wizard to the admin showing: - Community name - Completed orders - Creator: `@Creador` - Solvers: `@Solver1, @Solver2, ...` - Confirmation text: ``` Comunidad <nombre comunidad> Ordenes completadas: Creador: @Creador Solvers: @Solver1, @Solver2, etc.. Esta seguro que desea continuar? ``` - Include buttons: - `Continuar` - `Cancelar` - If the admin presses `Continuar`, send a message to the community owner notifying them that an administrator closed their community, for example: - `un administrador ha cerrado tu comunidad @NombreComm` ## Notes - The command should perform the actual close flow only after explicit confirmation from the superadmin. - The owner notification should only be sent after a successful confirmation and close action.
Summary
Add a new
/closecommunitycommand so superadmins can close a community by community ID or Telegram group handle.Examples:
/closecommunity 09f258490ac3d/closecommunity @GrupoComunidadRequirements
validateSuperadmin.@Creador@Solver1, @Solver2, ...ContinuarCancelarContinuar, send a message to the community owner notifying them that an administrator closed their community, for example:un administrador ha cerrado tu comunidad @NombreCommNotes