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

feat(command): add command#messageRun method and deprecation warning for command#run #299

Merged
merged 5 commits into from
Oct 16, 2021

Conversation

kyranet
Copy link
Member

@kyranet kyranet commented Oct 15, 2021

Also added a deprecation mechanism that activates when run is defined but messageRun is not, emitting a process warning and then assigning the former to the latter.

src/lib/structures/Command.ts Outdated Show resolved Hide resolved
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
favna
favna previously approved these changes Oct 15, 2021
@favna favna changed the title refactor(command): add messageRun method feat(command): add command#messageRun method and deprecation warning for command#run Oct 15, 2021
favna
favna previously approved these changes Oct 15, 2021
favna
favna previously approved these changes Oct 15, 2021
src/lib/structures/Command.ts Outdated Show resolved Hide resolved
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
@favna favna merged commit 750c25c into main Oct 16, 2021
@favna favna deleted the refactor/add-command-message-run branch October 16, 2021 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants