示例#1
0
        private async Task ReplyAppendDescriptionAsync(ISpecies species)
        {
            if (species.IsValid())
            {
                IMessage message = new Message($"Reply with the description for {species.GetRank().GetName()} **{species.GetFullName()}**.");
                IResponsiveMessageResponse response = await ResponsiveMessageService.GetResponseAsync(Context, message);

                if (!response.Canceled)
                {
                    await ReplyAppendDescriptionAsync(species, await GetDescriptionFromMessageAsync(response.Message));
                }
            }
        }