//今日の天気を聞かれたら返す機能 public async Task SendTodayWetherAsync(ICharacter character) { var mentions = await twitterHelper.GetMentionsTimeLineAsync(); var enableMentions = mentions.Where(e => wetherWidget.IsEnable(e.Text, e.CreatedAt.DateTime)).Select(e => new StatusForWether(e.Id, e.Text, e.CreatedAt.DateTime)); foreach (var mention in enableMentions) { string message = await wetherWidget.GetWeathersReplyMessage(mention, character); await twitterHelper.ReplyAsync(mention.Id, message); await Task.Delay(100); } }