示例#1
0
        private static async Task SendAsync(IUser user, ITextProvider text)
        {
            const int DiscordMessageLimit = 2000;

            foreach (var msg in text.GetSections(DiscordMessageLimit))
            {
                await user.SendMessageAsync(msg);
            }
        }