ConnectionString
All checks were successful
Local Deploy with Docker / build-and-deploy (push) Successful in 19s
All checks were successful
Local Deploy with Docker / build-and-deploy (push) Successful in 19s
This commit is contained in:
parent
0534e453a9
commit
e1d843db03
@ -11,7 +11,7 @@ using Npgsql;
|
||||
class Program
|
||||
{
|
||||
private static string botToken = "7814259349:AAEasTnDpX5s5PrQcR5ihI9pOsmp2Ocv-m0"; // Укажите токен вашего бота
|
||||
private static string connectionString = "Host=localhost;Port=5432;Database=telegram_bot;Username=postgres;Password=postgres";
|
||||
private static string connectionString = "Host=127.0.0.1;Port=5432;Database=telegram_bot;Username=postgres;Password=postgres";
|
||||
|
||||
private static readonly TelegramBotClient botClient = new TelegramBotClient(botToken);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user