예제 #1
0
 public async Task GetYoutubeComment([Remainder, Summary("Youtube-channel to search the random comment from")] string searchString)
 {
     try
     {
         await ReplyAsync(YouTube.FetchComment(searchString));
     }
     catch (Exception e)
     {
         await ReplyAsync(e.InnerException?.Message ?? "Failed fetching comments!");
     }
 }