Miunie
Miunie copied to clipboard
🔶 - Implement service prerequisites collection
Summary
Service prerequisites collection is one of our Command Pipeline steps with the following purpose:
- It Creates a new instance of a MiunieContext object and fills the appropriate properties
- MiunieContext should mostly contain IDs (MessageId, ChannelId, etc.)
- On top of that, MiunieContext should contain helper getters such as
MessageIsInDm
- It finds the best matching MiunieCommand from the provided list in its InputObject passed from the previous step
- Matching is based on the number of parameters and their type
- It parses command parameters into appropriate types and invokes the best matching command
How to implement
Creation of a new Command Pipeline step is needed.
Furthermore, helper interfaces such as ICommandFactory
(and possibly other) is going to be needed. The implementation of these is not part of this issue.
Interested? 😊
If you'd like to help us by solving this issue, just say so in the comments. ❤️ And don't shy away from asking any kind of question you might have.
Should you have any questions at all, feel free to contact either me (@petrspelos) or @DraxCodes on our Discord server:
And of course, thank you so much for contributing! 🎉 It's because of amazing people like yourself that Miunie exists.