Skip to content

feature/helpCommand#15

Merged
Samu-Kiss merged 12 commits into
mainfrom
develop
Jan 21, 2026
Merged

feature/helpCommand#15
Samu-Kiss merged 12 commits into
mainfrom
develop

Conversation

@Samu-Kiss

Copy link
Copy Markdown
Collaborator

No description provided.

- Create scheduleAutoDelete function with 60s default timeout
- Silent error handling for already deleted messages
- Returns timeout ID for optional cancellation
- Use WebSocket ping instead of timestamp calculation
- Update description to '🏓 Verifica latencia del bot'
- Apply auto-delete after 60 seconds
- Remove !ping fallback command (no longer needed)
- Allow users with normal verify to upgrade to Javeriana verification
- Detect upgrade by checking if user has verify role and new email is @javeriana.edu.co
- Remove normal verify role before assigning verifyJaveriana
- Delete old email from verificationEmails map during upgrade
- Block users from re-verifying with different Javeriana email
- Block users already verified with the same email
- Log upgrade process for auditing
- ping: '🏓 Verifica latencia del bot'
- metrics: '📊 Muestra estadísticas en tiempo real'
- clear: '🧹 Elimina mensajes por cantidad o tiempo'
- event: '📅 Prueba de concepto - Usa UI de Discord para eventos'
- verify: '🔐 Verifica tu correo con código OTP'
  - start: '🔐 Envía código OTP a tu correo'
  - code: '✅ Confirma código OTP recibido'
- ticketmessage: '🎫 Publica mensaje para crear tickets'
- ticketclose: '🔒 Cierra el ticket actual'
- presence: '👤 Configura presencia del bot'
- config-reset: '⚠️ Elimina toda la configuración del servidor'
- Change timeout from 30 minutes to 60 seconds
- Keep hybrid logic: delete after 60s OR 5 new messages (whichever comes first)
- Maintains silent error handling for already deleted messages
- Add /help command with category-based navigation
- Categories organized by permission level (General → Verification → Tickets → Communication → Monitoring → Administration)
- Filter commands based on user permissions (Administrator + admin/junta roles)
- Dropdown menu to select category and view detailed command info
- Each command shows: emoji, name, description, permissions, and example
- Special notes for verify command about Javeriana upgrade
- Back button to return to main menu
- Show count of blocked commands in footer
- All responses are ephemeral (flags: 1<<6)
- Register handlers in interactionCreate.ts for help: pattern
@Samu-Kiss Samu-Kiss merged commit 910be5b into main Jan 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant