2024-09-29 21:36:05 -04:00
|
|
|
<?php
|
|
|
|
require 'ncc';
|
2024-09-30 02:35:42 -04:00
|
|
|
|
|
|
|
$token_path = __DIR__ . DIRECTORY_SEPARATOR . 'tests' . DIRECTORY_SEPARATOR . 'token.txt';
|
|
|
|
|
|
|
|
if(!file_exists($token_path))
|
|
|
|
{
|
|
|
|
throw new Exception(sprintf('The token file "%s" does not exist.', $token_path));
|
|
|
|
}
|
|
|
|
|
|
|
|
define('BOT_TOKEN', trim(file_get_contents($token_path)));
|
|
|
|
|
2024-09-29 21:36:05 -04:00
|
|
|
import('net.nosial.tgbotlib');
|