SurPathHub / Dayong

Discord Bot for SurPath Hub's server
https://sph-docs.netlify.app/docs/Dayong
MIT License
6 stars 4 forks source link

Migrate Dayong's design model and implement slash commands #4

Closed huenique closed 2 years ago

huenique commented 3 years ago

The sole maintainer of discord.py has ceased the development of their API wrapper. This is my first time making a complete discord bot, so I wasn't aware of this matter.

The reason I chose discord.py was because of its popularity and that it was a fast and mature library. Now that discord.py is essentially dead, we're left with a few options:

  1. Rebuild the bot in another language.
  2. Rebuild the bot with another library.
  3. Extend discord.py to support slash commands.

If you read Danny's announcement, Discord is forcing bot developers to use slash commands. Dayong will die in 8 or 9 months if we continue using discord.py's design model.

Regarding our remaining options, from a project maintainer's point of view, the first one sounds like our top choice, but we don't have to abandon Python just yet. Personally, I think the second or third is our best option. For number 2, I'm looking into other libraries, such as hikari, which is starting to gain traction after the announcement. For number 3, there's discord-interactions, which is a discord.py extension for supporting slash commands.

MatteuSan commented 3 years ago

Go for #3