elenirotsides / Trivia-Bot

Be Educated. Be Fun. Be Trivia on Discord. 🧠
https://discord.com/api/oauth2/authorize?client_id=831974682709721099&permissions=157760&scope=bot
MIT License
13 stars 10 forks source link

Research and then implement slash commands #88

Open elenirotsides opened 3 years ago

elenirotsides commented 3 years ago

Is your feature request related to a problem? Please describe. A lot of bots have slash commands now, so Trivia Bot should as well Slash commands are going to be strictly enforced by Discord in the coming months, so Trivia Bot needs to implement them.

dcarpenter31 commented 3 years ago

Resources: Discord Application Commands ApplicationCommandManager type

elenirotsides commented 3 years ago

Fantastic! Thanks @carpenterd777 !!

dcarpenter31 commented 3 years ago

I'm actually working on this issue right now. Maybe I can make a PR soon ;)

elenirotsides commented 3 years ago

WOOHOO!! Going to assign you! Looking forward to your PR!

dcarpenter31 commented 3 years ago

After some more research, it looks like this feature is going to be more difficult to implement than I initially thought - slash commands are not supported by discord.js until version 13. Because TriviaBot is built using version 12, some significant refactoring work would need to be done before slash commands could be implemented

elenirotsides commented 3 years ago

I was afraid that would be the case. We can put a pin on this until I look into the changes that need to be made in order to do the refactor successfully @carpenterd777 I will keep you posted once I have more answers!

MarcWebDev commented 2 years ago

If you need help with Slash Commands, I'm experienced with them and worked alot with those. @elenirotsides

MarcWebDev commented 2 years ago

So what do you say @elenirotsides

elenirotsides commented 2 years ago

Any help with these would be fantastic, thank you! @MarcWebDev