예제 #1
0
 public static void handleCommand(TwitchLib.TwitchChatClient.OnCommandReceivedArgs e)
 {
     if (verifyCommand(e))
     {
         string drinking = WebCalls.downloadDrinking().Result;
         Common.ChatClient.SendMessage(string.Format("Burke is currently drink {0}.", drinking));
         Common.command(e.Command, true);
     }
     else
     {
         Common.command(e.Command, false);
     }
 }