Files
tangmo_trans_bot/env.sample.php

11 lines
315 B
PHP

<?php
// Rename me to env.php
$bot_api_key = '1234567890:Telegram_bot_api_key';
$bot_username = 'telegram_bot_username';
$hook_url = 'https://my.server.com/path/to/hook.php';
putenv('DEEPL_API_KEY=some-uuid-12345-abcde:fx');
$deepl_api_key = 'some-uuid-12345-abcde:fx';
$allowed_chat_ids = [123, 456, -123];