This commit is contained in:
hashbro
2026-08-07 05:46:46 +08:00
parent 78b61f85d2
commit 82f8a8fffe
9 changed files with 399 additions and 44 deletions
+2 -2
View File
@@ -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);