Example #1
0
 public static void VkSendJokeMessage(string accessToken, RMessagesData.RCmdsListCollect.RCommandsItem rCommandItem)
 {
     try
     {
         SiteUtils.SendMessage(accessToken, rCommandItem, SiteUtils.GetJoke());
         LogCore.Log(rCommandItem.Message, JsonConvert.SerializeObject(rCommandItem), EnumData.LogTypeCommand.CMessage, EnumData.LogSourceCommand.VK);
     }
     catch (Exception ex)
     {
         ex.Error();
     }
 }