Skip to content
This repository has been archived by the owner on Dec 18, 2020. It is now read-only.

Provide easy message-level interactivity #10

Open
alikindsys opened this issue Jul 16, 2020 · 0 comments
Open

Provide easy message-level interactivity #10

alikindsys opened this issue Jul 16, 2020 · 0 comments
Labels
2.0 Approved This Issue/PR was approved Feature This Issue/PR is about the implementation of a new feature Interaction Issues about the Interaction API Reimplement DSP The official implementation from DSharpPlus requires a redesign WIP

Comments

@alikindsys
Copy link
Member

Draft:
a function public Task<DiscordMessage> Interact(DiscordMessage), to be used like

var message = PrepareMessage();
var response = await Interact(message);

where response is the next message sent in the context of message (In the correct channel, and by the correct user).
For ease of use, also add overloads for any type that can be trivially converted into a DiscordMessage, such as Interact(DiscordEmbed), Interact(string), and Interact(Attachment).

Implementation notes:
DSharpPlus.Interactivity provides several useful functions to get the next message, but all are at a lower level than the proposed Interact

@alikindsys alikindsys added Interaction Issues about the Interaction API Approved This Issue/PR was approved WIP Feature This Issue/PR is about the implementation of a new feature 2.0 labels Jul 16, 2020
@alikindsys alikindsys added this to the "Kohinata Nanoka" 2.0 milestone Jul 16, 2020
@alikindsys alikindsys added the Reimplement DSP The official implementation from DSharpPlus requires a redesign label Aug 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
2.0 Approved This Issue/PR was approved Feature This Issue/PR is about the implementation of a new feature Interaction Issues about the Interaction API Reimplement DSP The official implementation from DSharpPlus requires a redesign WIP
Projects
None yet
Development

No branches or pull requests

1 participant