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

Create a discord API handler #75

Closed
3 tasks
clement-pages opened this issue Apr 25, 2023 · 1 comment
Closed
3 tasks

Create a discord API handler #75

clement-pages opened this issue Apr 25, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@clement-pages
Copy link
Member

clement-pages commented Apr 25, 2023

Task description

Currently, discord API is directly called from multiple points in the source code. This could break the code in the case of discord upgrade , and makes it difficult to maintain. Thus, the aims of this task is to implement a module that will represent an interface betwwen the SunBot and discord API

Validation criteria

  • : A first attempt to implement a discord API handler was done previously, but this implementation is not up to date with the current architecture and should be deleted
  • : Implement a new module which handle sending to users and servers, handle an interaction or discord event... etc
  • : Update the source code to use the new module (namely in SunController, weather_event module)
@clement-pages
Copy link
Member Author

Currently neither necessary nor useful. The elements used are (a priori) not subject to change at the discord API level, and should not break the code. Any updates should also be fairly straightforward to implement.

@github-project-automation github-project-automation bot moved this from 🔄 Todo to ✅️ Done in SunBot project May 22, 2024
@github-project-automation github-project-automation bot moved this from 🔄 Todo to ✅️ Done in SunBot project May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: ✅️ Done
Development

No branches or pull requests

2 participants