anipalur / anipalur/gce-a-levels-bot

Add more default options to common replies

Abierto
#10 0 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement good first issue
Lenguaje dominante
JavaScript
Estrellas
1
Forks
1
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### Discord Username

Not specified.

### Related Problem

As of now, `ephemeral: true` must be specified in all replies from the [Reply class](https://github.com/anipalur/gce-a-levels-bot/blob/main/src/tools/common-replies.js#L23 "View the Reply class tools file."), and `fetchReply: true` must be specified in all 'confirmation' replies.

### Enhancement Description

- Set `ephemeral: true` as the default for all common replies.
- Set `fetchReply: true` as the default for ['confirmation' replies](https://github.com/anipalur/gce-a-levels-bot/blob/0dcbee9af737350b7f70bcff5dc07de1969a571c/src/tools/common-replies.js#L29C2-L65 "View the 'confirmation' replies.").

This removes the need to specify these options every time a common reply is used. Adding `fetchReply: true` is needed since the 'confirmation' replies need to be fetched to create an interaction collector on them.

### Additional Information

None.

### Code of Conduct

- [X] I agree to abide by the Code of Conduct.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.