Completed
Push — master ( 7a67a4...253eb0 )
by
unknown
15s
created
examples/DonateBot/Bot.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
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));
Please login to merge, or discard this patch.