Request compatibility subclass for gateway #11
Labels
feature
New addition to the library
good first issue
Good for newcomers
minor
Deprecate, remove, or add a feature
wumpy-bot
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-levelwumpy-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 sameInteraction failed
response by Discord.Take a look at the other
Request
subclasses and theInteractionRequester
for how to connect the two.The text was updated successfully, but these errors were encountered: