Skip to content

Usage ​

Category: Commands

Source: usage.dart

Classes ​

UsageCommand ​

/usage — show token usage for the current session, broken down by role.

Constructor ​

dart
UsageCommand(this.ctx)

Properties ​

PropertyTypeDescription
ctxSlashCommandContext
nameString get
descriptionString get
nameString get
descriptionString get

Methods ​

String execute(List<String> args) ​

Released under the MIT License.