feature
This commit is contained in:
@@ -11,10 +11,10 @@ $bot->group(function ($bot) {
|
||||
$bot->onCommand('ping', PingCommand::class)
|
||||
->description('Health check');
|
||||
|
||||
// Single capture — TransferCommand parses "<to> <amount> [asset]".
|
||||
// Single capture — TransferCommand parses "<from> [asset] [amount]".
|
||||
$bot->onCommand('transfer {args}', TransferCommand::class)
|
||||
->where('args', '.+')
|
||||
->description('Transfer TRX or USDT from hot wallet');
|
||||
->description('Transfer TRX or USDT from a device address (omit amount = all)');
|
||||
})
|
||||
->middleware(GroupAdminOnly::class)
|
||||
->middleware(AuthorizedChat::class);
|
||||
|
||||
Reference in New Issue
Block a user