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

Add new command /usage to get last 30 days api usage in $ #57

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adrianlzt
Copy link

New command "/usage".
Calls the non documented API dashboard/billing API to get the usage, in dollars, of the last 30 days.

Example response:
Usage in the last 30 days: 0.42 $

New command "/usage".
Calls the non documented API dashboard/billing API to get the usage, in
dollars, of the last 30 days.

Example response:
Usage in the last 30 days: 0.42 $
@RayCxggg
Copy link
Collaborator

It seems to be a reasonable option for user to monitor the cost. @flynnoct Do you want to add this new command? Or maybe you can add it in the logging system, simply add a command named 'usage' in Telegram feels user-unfriendly.

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