Advertisement
JockoTM

Program.cs

Mar 23rd, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.77 KB | None | 0 0
  1. using System;
  2. using System.IO;
  3.  
  4.  
  5. namespace TwitchBot
  6. {
  7.     class Program
  8.     {
  9.          public static string leil;
  10.          public static string lel;
  11.  
  12.         static void Main(string[] args)
  13.         {
  14.             if (!File.Exists("username.txt") || !File.Exists("password.txt"))
  15.             {
  16.                 Console.WriteLine("Type your username!");
  17.                 leil = Console.ReadLine();
  18.                 Console.WriteLine("Type your oauth!");
  19.                 lel = Console.ReadLine();
  20.                 File.WriteAllText(@"username.txt", leil);
  21.                 File.WriteAllText(@"password.txt", lel);
  22.  
  23.             }
  24.  
  25.             var bot = new ChatBot();
  26.             while (true)
  27.             {
  28.                 bot.Update();
  29.             }
  30.         }
  31.     }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement