Format
This commit is contained in:
@@ -53,7 +53,7 @@ class GenericmessageCommand extends SystemCommand
|
||||
];
|
||||
$buttons = [];
|
||||
if ($message->getFrom() !== null) {
|
||||
$buttons []= new InlineKeyboardButton([
|
||||
$buttons[] = new InlineKeyboardButton([
|
||||
'text' => '❌ Delete',
|
||||
'callback_data' => json_encode([
|
||||
'action' => 'DELETE', // Since 2023-05-03
|
||||
@@ -61,11 +61,11 @@ class GenericmessageCommand extends SystemCommand
|
||||
]),
|
||||
]);
|
||||
}
|
||||
$buttons []= new InlineKeyboardButton([
|
||||
$buttons[] = new InlineKeyboardButton([
|
||||
'text' => 'FX ↔ VX',
|
||||
'callback_data' => json_encode(['action' => 'FXVX']),
|
||||
]);
|
||||
$buttons []= new InlineKeyboardButton([
|
||||
$buttons[] = new InlineKeyboardButton([
|
||||
'text' => '🔄 Refresh',
|
||||
'callback_data' => json_encode(['action' => 'REFRESH']),
|
||||
]);
|
||||
@@ -76,4 +76,4 @@ class GenericmessageCommand extends SystemCommand
|
||||
|
||||
return $this->replyToChat("https://fxtwitter.com/$author/status/$tweetId$photoNoText", $data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user