-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
featureNew addition to the libraryNew addition to the librarygood first issueGood for newcomersGood for newcomersminorDeprecate, remove, or add a featureDeprecate, remove, or add a featurewumpy-bot
Description
Summary
Although not recommended, there are those who wish to handle interactions over the gateway. This is afterall supported by the API, so it should be supported by the library. To do this, a Request subclass should be created that uses the Create Interaction Response endpoint.
Description
wumpy-interactions itself should only contain code for the original interactions over HTTP, therefore this subclass should be placed in the higher-level wumpy-bot.
Because you can't respond to an interaction with an error code, if data isn't present when called, it should do nothing which causes the same Interaction failed response by Discord.
Take a look at the other Request subclasses and the InteractionRequester for how to connect the two.
Metadata
Metadata
Assignees
Labels
featureNew addition to the libraryNew addition to the librarygood first issueGood for newcomersGood for newcomersminorDeprecate, remove, or add a featureDeprecate, remove, or add a featurewumpy-bot
Type
Projects
Status
📁 - Planning