sapphiredev / framework

Discord bot framework built on top of discord.js for advanced and amazing bots.
https://www.sapphirejs.dev/
MIT License
647 stars 74 forks source link

request: update `Args` to support Chat Input commands #494

Open favna opened 2 years ago

favna commented 2 years ago

Is there an existing issue or pull request for this?

Feature description

When we first wrote Sapphire we added support for Arguments for message-based commands, however, they were never updated for Chat Input commands in version 3 as we had to cut it in order to be able to ship v3 sooner. That means it is moved to the scope of v4 and this issue is to track this feature.

Desired solution

Arguments has to be updated to support Chat Input commands

Alternatives considered

Additional context

No response

favna commented 6 months ago

Copying the following blurb from #646

@vladfrangu has added to this topic:

bc I want to make args have a consistent interface between types Basically make Args an interface now and then MessageArgs/ChatInputCommandArgs implement it and then people can just use it without thinking of what they are using it in also it's hella breaking LOL sapphire v5 lets GOO