More Interfaces in JDA
See original GitHub issue- I have checked for similar issues.
- I have updated to the [latest JDA version][download].
- I have checked the branches or the maintainers’ PRs for upcoming features.
Feature Request
More interfaces for similar Methods eg. the Slash Command System has the same return values in Guild and JDA. The methods are exactly same named. In the whole JDA more interfaces would be better for .
Example Use-Case
Use case is better polymorphism in applications using this api. e.g If you want to register a Slash command you need a reflections or another code construction to execute the same method in different types. And it does nearly the same. So a interface like ISlashCommandCreation with methods upsertCommand
, updateCommands
, editCommandById
, deleteCommandById
, retrieveCommandById
and retrieveCommands
in it would be good.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Right way to tackle JDA/BY Interfaces - Smart IS
Interfaces need to be understood abstractly as just another mechanism to provide data. Nothing more and nothing less. So once it is established...
Read more >How to use the JDA interface in another class - Stack Overflow
I played JDA in the Spring-boot framework. However, there is a situation where you have to send a DM to a user at...
Read more >JDA Material Handling Integration
JDA's Integrator EAI framework has been designed to streamline the process of data mapping and manage “events” and responses associated with transactional ...
Read more >JDA Warehouse Management 9.1 – Users Navigate with Ease
JDA Warehouse Management 9.1 is helping users navigate the system with ease. OPen Sky Group is implement JDA WMS 9.1 now - learn...
Read more >all classes - JDA 5.0.0-alpha.22 javadoc
Manager providing functionality to update one or more fields for the logged in account. ... Interface used to receive audio from Discord through...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
can you give me a link to that point in changelog? O.o
//EDIT:
MessageBuilder doesn’t implement WebhookMessageAction
I think the main problem is what @freya022 posted. We need to wait for a stable v5
We are going to bridge the gap for the various ways to deal with messages. However, we’re not looking to add interfaces for every possible intersection of features. There is a point where it is too much. Intersection interfaces are only useful if people are going to use them enough to justify the reduction in clarity and increase in maintenance cost.
If you have specific usecases where you’d like to see an intersection interface added, feel free to open another issue with a specific usecase written out.