discord-nestjs
discord-nestjs copied to clipboard
Reactive Example
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 theSubject
usage! -
How would an incoming trigger via HTTP be delegated to a Bot Trigger that updates a reactive message?
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.