@@ -22,7 +22,7 @@ |
||
22 | 22 | $bot = new DonateBot('BOT_TOKEN'); |
23 | 23 | $bot->setPayment('PROVIDER_TOKEN', 'EUR'); |
24 | 24 | |
25 | -$bot->addMessageCommand('start', function ($bot, $message) { |
|
25 | +$bot->addMessageCommand('start', function($bot, $message) { |
|
26 | 26 | $bot->sendInvoice('Donation', 'Small donation', 'don1', array('Donation' => 2)); |
27 | 27 | $bot->sendInvoice('Donation', 'Medium donation', 'don2', array('Donation' => 5)); |
28 | 28 | $bot->sendInvoice('Donation', 'Large donation', 'don3', array('Donation' => 10)); |