-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
add discord-buttons Community Resources #3146
add discord-buttons Community Resources #3146
Conversation
Discord.js natively implements buttons in the next major release (with API-true naming). (note that |
This package is bad in a variety of ways. Use djs' native interaction methods instead. |
Yes, discord.js's |
Discord.js stable don't support interactions... |
I don't see what do u mean by "bad" because basically we are covering everything that is being added to discord-api-docs and still we are working on some more features, |
You're grasping straws. The djs dev branch is stable enough, it's close to a release after all. Your package is applying hacky solutions to v12 which is just bad. Very much not easier to use and inaccurate to the Discord API. |
ok so basically, by "hacky" you mean because we are getting/sending data to throw WebSocket? or because we change some stuff on Send function? cause I really don't get it, if we added anything or changed anything about Djs, we covered them on our readme/docs..... |
Bro, what do you mean with "hacky"? |
To clarify some things:
Edit: Additionally: #2874 (comment) |
Again grasping straws and not providing any proper argument. This package is inaccurate to the Discord API. And there's no reason to use it, as djs provides perfectly fine native interaction support. |
Hello crawl, |
of course it is a temporary solution?? users should download v13 and use built-in button support. Discord has already made it clear that they won't add these "extension" libraries unless the base library devs agree with it, so I don't really see why you made this PR in the first place as it obviously won't get merged. there is no good reason for anyone to use your package instead of d.js v13. |
@@ -67,6 +67,7 @@ Many of these libraries are represented in the [unofficial, community-driven Dis | |||
- [discord-interactions-js](https://github.com/discord/discord-interactions-js) | |||
- [discord-slash-commands](https://github.com/MeguminSama/discord-slash-commands) and its [Deno fork](https://deno.land/x/discord_slash_commands) | |||
- [slash-create](https://github.com/Snazzah/slash-create) | |||
- [discord-buttons](https://github.com/AngeloCore/discord-buttons) |
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.
🧹
- [discord-buttons](https://github.com/AngeloCore/discord-buttons) |
Well for those saying that djs13 native button support is better! |
There still is absolutely no reason to use discord-buttons anyway. |
I support this pull request. discord-buttons is easier to use and not temporary. I tried using the main branch too to give it a fair chance and from my personal opinion discord-buttons is better. Also also replying to @iCrawl
I agree with you, but if the owner of the package is willing to commit himself to the work, you cannot possibly stop the PR, This shouldnt be a problem and from my POV, you dont want to have discord-buttons on community resources based on personal hate. |
It does. All the community resources are made to enhance the user experience and to make it easier for the user. Without that, the resources dont make any sense |
The Community Resources exists as a central repository of libraries which the Discord team has vetted and sanctioned for use. Additionally, it is comprised of libraries which are - for lack of a better word - comprehensive. There is no reason for your extension to be on that list, and there is especially no reason for it when the core library (which IS on the list) will have support for the feature in the near future. This pull request and subsequent discussion are not in good faith, and the devs should close it at their earliest opportunity. EDIT: Wow, this pull request is just flagrant self-advertising and I didn't even realize. I've put the above statement in bold for emphasis. |
Chill please, I don't want to be a cause of conflicts |
#3101 #3049 and many other community resources PR's were made by the owners of the library, its a clear sign of leadership, to take steps before anyone else. advertising has nothing to do with it. Currently 50k people are using the discord-buttons and imo many of them would support this PR. And to everyone who comments on this discussion after this message. Please dont comment if you havent used discord-buttons itself and dont know what it is. |
All right, one last time:
While partially true, easy is very subjective. Your library does a lot more (which breaks our interface for even something as simple as sending messages/interactions). This is how you send messages with components using discord.js: .send({ content: 'something', components: [row] });
.send({ content: 'something', components: [] });
.send({ content: 'something', components: [[btn1, btn2], [btn3, btn4]] }); This is how you send messages with components using your module: .send('something', row);
.send('something', null);
.send('something', { buttons: [btn1, btn2] }); Now what happens when select menus release? Users will come to us with: "Why does this not work" .send('something', { buttons: [btn1, btn2], components: [[select1, select2]] }); Or are you going to add components We already get a huge influx of users asking us for support because something broke with how you normally use our library but breaks when they install This leads to all kinds of problems further down the line, the more components get released.
If this is a serious debate point for you, have you considered bringing it up on our issue tracker or somewhere where we can give feedback on this? The method is named like this for generic reasons, as it does not only collect button "clicks" but also select values and any future components that are supposed to be able to collect values from.
None of the ones you find on here are non-endorsed breaking modifications of a library that's listed here.
Let's not kid anyone, 50k non-unique downloads on NPM are done in a matter of no time, whether that by constantly installing the package to test it or indexers, heck you could even spawn a few clusters and just hit the download endpoint on NPM. Not to diminish your success or numbers, it simply doesn't reflect usage statistics. Personal opinion: This is based over the last 28 days of activity. I am fair to say that we want to avoid any non-endorsed packages being used and users coming to us asking countless questions about why their bot is throwing weird errors relating to this module. As of today, we get multiple users daily coming to us asking why their buttons don't work and I don't see it stopping anytime soon. The only thing we can do is tell them we don't support |
Hello Crawl,
You may be right, but doesn't < discord.js v13 use this type of messaging?
Sorry but you are wrong here, with our add-on you can send components with many options:
We're trying to try to deal with all the bugs. I personally don't see any problem with people who want to use our package doing so and those who don't not doing so
|
They use JavaScript/TypeScript but do not extend/modify discord.js. |
|
Thanks for the PR, but moving forward we are no longer listing extensions to library interfaces in this documentation because of issues like this. If the library is useful as standalone tool, that's ok. Otherwise, library maintainers can choose to list extensions on their own sites/readmes. |
gg |
Add discord-buttons on Community Resources interactions.
discord-buttons is a package for the button interactions, addon for discord.js