Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reactive Example #869

Open
Phoscur opened this issue Sep 18, 2022 · 1 comment
Open

Reactive Example #869

Phoscur opened this issue Sep 18, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@Phoscur
Copy link

Phoscur commented Sep 18, 2022

Is your feature request related to a problem? Please describe.
Hi, I am still exploring the Discord API and found myself lucky to stumble upon this project here, because I want to structure my bot source code better. While able to run some of the examples, I wish we had better documentation...

Describe the solution you'd like
A reactive example and more introduction text for the existing samples.

What do I mean by a "reactive example"?
I would like to test different ways of interacting with an existing ("reactive") message a bot previously sent and updating that message (and emoji-reactions on it - reset button?).
E.g. The start command could be /party - It may include a reaction collector, which would count all reactions and update the message content with the measured amount until a certain limit, which updates to a success text.

-Can we also have predefined plain buttons to react instead of emojis?- Edit: yes :)

Describe alternatives you've considered
Flesh out one of the existing examples a bit more with a guideline and structure overview...

Additional context

  • I am confused about the command registration in the by-http sample
    when I try it, it does not reregister commands, how exactly is it supposed to work, please explain the Subject usage!

  • How would an incoming trigger via HTTP be delegated to a Bot Trigger that updates a reactive message?

@fjodor-rybakov
Copy link
Owner

Hi! Registration by http work simple. First you should create a Subject. After need send next event to your subject. After all the subscription will call, which will register your commands.

@fjodor-rybakov fjodor-rybakov added the documentation Improvements or additions to documentation label Oct 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants