Skip to content

Request compatibility subclass for gateway #11

@Bluenix2

Description

@Bluenix2

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

No one assigned

    Labels

    featureNew addition to the librarygood first issueGood for newcomersminorDeprecate, remove, or add a featurewumpy-bot

    Type

    No type

    Projects

    Status

    📁 - Planning

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions