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

Gérer les buttonInteractions comme des DraftbotInteractions #2754

Open
romain22222 opened this issue Jan 29, 2025 · 1 comment
Open

Gérer les buttonInteractions comme des DraftbotInteractions #2754

romain22222 opened this issue Jan 29, 2025 · 1 comment
Labels
bug Something isn't working refactoring No visible changes but code improved
Milestone

Comments

@romain22222
Copy link
Member

Le but serait que quand on cache une buttonInteraction, elle est cached en draftbotinteraction. Ca permet que lorsqu'on la rappelle pour de l'affichage, l'objet possède nos fonctions d'envois de messages avec leur gestion d'erreur, et non celles par défaut de djs.

@romain22222 romain22222 added bug Something isn't working refactoring No visible changes but code improved labels Jan 29, 2025
@romain22222 romain22222 added this to the DraftBot V5 milestone Jan 29, 2025
@romain22222
Copy link
Member Author

j'ai déjà effectué le changement sur la branche d'nta concernant le casting de l'objet discord, il faut faire deux choses : vérifier que le reste fonctionne bien sur le cast et appliquer ce cast partout dans DiscordCache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working refactoring No visible changes but code improved
Projects
None yet
Development

No branches or pull requests

1 participant