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

Support Slash Commands for the new Discord API #83

Closed
eibex opened this issue Aug 28, 2021 · 2 comments · Fixed by #88
Closed

Support Slash Commands for the new Discord API #83

eibex opened this issue Aug 28, 2021 · 2 comments · Fixed by #88
Labels
pr ready - waiting for merge Waiting for the related PR to be merged

Comments

@eibex
Copy link
Owner

eibex commented Aug 28, 2021

In light of discord.py discontinuation, it will be necessary to rewrite the bot in a new language or library that supports slash commands.

As mentioned in #59 (comment) there are a few discord.py forks that support slash commands. If none seem suitable and stable the rewrite target language will be Rust with the Serenity library.

I am not a Rust developer, it will therefore take time for me to learn the language and migrate the code.

@eibex eibex added help wanted Extra attention is needed to develop Enhancements/new features to be developed codebase labels Aug 28, 2021
@eibex eibex changed the title Move from Python to Rust Support Slash Commands for the new Discord API Nov 12, 2021
@eibex
Copy link
Owner Author

eibex commented Nov 19, 2021

The current candidates are:

You are welcome to propose other libraries. The PRs might not be merged until 2022 to see if both libraries continue to receive support. You are free to clone the new branches if you want to try slash commands right away.

@eibex eibex added pr ready - waiting for merge Waiting for the related PR to be merged and removed help wanted Extra attention is needed to develop Enhancements/new features to be developed labels Nov 19, 2021
@eibex
Copy link
Owner Author

eibex commented Nov 20, 2021

I should add that Disnake is currently the better PR, since it includes option choices which I didn't manage to include in edpy.

@eibex eibex closed this as completed in #88 Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr ready - waiting for merge Waiting for the related PR to be merged
Projects
None yet
1 participant