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

Fix middleware command context type #10

Merged
merged 4 commits into from
Apr 29, 2024
Merged

Conversation

carafelix
Copy link
Member

Previous to the fix, command context properties, like c.chat, were missing from the Command Context.

@roziscoding
Copy link
Contributor

Thank you so much!
Please run deno fmt, and add an export for CommandContext to deps.node.js, then we're good to go

Copy link

codecov bot commented Apr 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.05%. Comparing base (984b297) to head (ce5d121).

❗ Current head ce5d121 differs from pull request most recent head a7e84ae. Consider uploading reports for the commit a7e84ae to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #10   +/-   ##
=======================================
  Coverage   68.05%   68.05%           
=======================================
  Files           7        7           
  Lines         407      407           
  Branches       66       66           
=======================================
  Hits          277      277           
  Misses        128      128           
  Partials        2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@roziscoding roziscoding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TYSM! ❤️

@roziscoding roziscoding enabled auto-merge (rebase) April 29, 2024 19:31
@roziscoding roziscoding disabled auto-merge April 29, 2024 19:34
@roziscoding roziscoding merged commit 4ed40bf into grammyjs:main Apr 29, 2024
6 checks passed
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.

2 participants