TCrB Bot hübscher gemacht
This commit is contained in:
@@ -6,6 +6,7 @@ error_reporting(E_ALL);
|
||||
|
||||
$config = require __DIR__ . '/../../config/database.php';
|
||||
$telegramConfig = require __DIR__ . '/../../config/telegram.php';
|
||||
require_once __DIR__ . '/../../config/telegram_message_footer.php';
|
||||
|
||||
$dsn = sprintf(
|
||||
'mysql:host=%s;dbname=%s;charset=%s',
|
||||
@@ -87,7 +88,7 @@ function telegramSendBotMessage(array $telegramConfig, string $chatId, string $m
|
||||
'https://api.telegram.org/bot' . $botToken . '/sendMessage',
|
||||
[
|
||||
'chat_id' => $chatId,
|
||||
'text' => $messageText,
|
||||
'text' => appendTelegramServiceFooter($messageText),
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user