-
Notifications
You must be signed in to change notification settings - Fork 822
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
Slash commands #856
Slash commands #856
Conversation
any update? |
Added support for new slash commands in a very dirty manner. Waiting for bwmarrin/discordgo#856 to be merged so they'll be supported in the official library.
Well, I'm busy... so, I will try in near days find time for finishing this. |
What can I say... I've just completed slash-commands. But, I'm going to refactor, cleanup code and push it today or tomorrow, so stay in touch. |
Well... as you see. |
I'd like to have some code review before merging, but maintainers will decide. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a great start! An example is a great inclusion for a new feature. There are a few points that I think can be streamlined, but otherwise this is definitely on a great track.
Additionally, note the failing check. |
Well, for now, I have no time to fix it, but all fixes will be ready tomorrow. |
Well, I think I want to hear other people's opinion on this. This is not necessary, but yeah, maybe really nice to have. |
Hope there's nothing more else to do so we can already finish. If not, please mention not yet solved issues, I just... in such a big (by reviews, comments, etc) PR I can simply forget to fix something. And thanks for understanding, reviews and time you spent waiting for this, one of the greatest Discord's feature to be implemented in DiscordGo. Also, I'm sorry for those whom I could disrespect during the reviews and development of this PR, I know, that was a problem at the start of the beginning, but now, just wanted to say, I was doing this, because I wanted to quicker finish this PR (free myself from developing this and focus on my projects, and allow people to use this), I hope you understand. |
Sure, it's not 100% necessary. Just a nice-to-have.
Yep, saw that when I did a more thorough re-reading of the docs. |
I've added some additional changes to the PR, mainly to address three areas of concern:
I am aware that pushing my own changes to the PR isn't ideal GitHub etiquette. From the 177 previous comments on this PR without much movement, however, I felt as though these needed to be closed out. I'll be the first to tell you that the community is super grateful for your work here, and I didn't want to leave this sitting here for more weeks in a back-and-forth on the issues mentioned in some of the commentary. I think that this solution will speed up the deployment of this feature, and will result in the same end product (that is: if the changes were eventually made; otherwise, they could have jeopardized any merge). That all said: I feel as though the concerns voiced in much of the discussion have been properly addressed. I am not claiming that this feature is perfect as-is, but the growing community interest means that (easily) getting it into the hands of all of you must be taken as a priority. To update to a version of DiscordGo containing this feature, run That's it folks! Thanks for reading my essay. Now go have some fun! |
A big thank you to all who contributed! |
Thanks. Finally 🚀 |
Great work @FedorLap2006 and co 👍 |
Here we go! Slash commands are ready to use (almost).
So... I saw that everyone wants it, so I'm opening it now, not when I will complete it.
Now it includes some example in
examples/
folder of using this new feature and basic API of slash commands (CRUD).Well, enjoy!