Manipal-OSF / bot

A community discord bot, used in the OSF server.
MIT License
5 stars 4 forks source link

Support for slash commands #4

Closed dhzdhd closed 2 years ago

dhzdhd commented 3 years ago

discord.py as of now, does not support slash commands.

We can switch to this discord wrapper which is a fork of discord.py that supports slash commands.

dhzdhd commented 3 years ago

Valid alternatives are 1) https://github.com/goverfl0w/discord-interactions 2) https://pypi.org/project/disnake/ 3) https://pypi.org/project/discord-py-slash-command/

Although, I am not sure about how stable these repos will be.

Shubhaankar-Sharma commented 3 years ago

Lets just use the third one so that we can switch to the most popular fork of discord.py in the future easily

dhzdhd commented 3 years ago

@Shubhaankar-Sharma So we are going to use https://pypi.org/project/discord-py-slash-command/ ? Do you want to implement it or should i do it?

Shubhaankar-Sharma commented 3 years ago

yea @dhzdhd can you maybe do it? :p i really have a lot on my plate rn

dhzdhd commented 3 years ago

Alright

dhzdhd commented 2 years ago

Having talked to some experienced discord devs the past month, it seems that disnake is the way to go Easy integration with discord.py and gives us access to the latest API features.

https://pypi.org/project/disnake/