Init
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Threading;
|
||||
|
||||
namespace RgDevBot
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
var bot = new TelegramBot();
|
||||
var parser = new NewsParser(bot);
|
||||
while (true)
|
||||
{
|
||||
parser.Parse();
|
||||
Thread.Sleep(TimeSpan.FromSeconds(1));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user