Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

🔶 - Implement service prerequisites collection #316

@petrspelos

Description

@petrspelos

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:

Discord

And of course, thank you so much for contributing! 🎉 It's because of amazing people like yourself that Miunie exists.

Metadata

Metadata

Assignees

Labels

CoreWork on Miunie.Core and DiscordadvancedThis is a non-trivial issue

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions