From 070cf5d967f8eb01b10180a2ab257b5127866c39 Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Tue, 16 Feb 2016 23:05:49 +0100 Subject: [PATCH] help is not instant-ratelimit anymore, need to move it completely to a page --- NadekoBot/Classes/Music/StreamRequest.cs | 5 ----- NadekoBot/Commands/HelpCommand.cs | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/NadekoBot/Classes/Music/StreamRequest.cs b/NadekoBot/Classes/Music/StreamRequest.cs index 2beeb9b8..050f8093 100644 --- a/NadekoBot/Classes/Music/StreamRequest.cs +++ b/NadekoBot/Classes/Music/StreamRequest.cs @@ -1,17 +1,12 @@ using System; -using System.Collections.Generic; using System.Linq; -using System.Text; using System.Threading.Tasks; using Discord; using Discord.Commands; using Discord.Audio; -using NadekoBot.Modules; using System.IO; using System.Diagnostics; using NadekoBot.Extensions; -using System.Threading; -using Timer = System.Timers.Timer; using VideoLibrary; namespace NadekoBot.Classes.Music { diff --git a/NadekoBot/Commands/HelpCommand.cs b/NadekoBot/Commands/HelpCommand.cs index 57976017..d0ea7b49 100644 --- a/NadekoBot/Commands/HelpCommand.cs +++ b/NadekoBot/Commands/HelpCommand.cs @@ -29,6 +29,7 @@ namespace NadekoBot var curstr = helpstr.Substring(0, 2000); await e.User.Send(curstr.Substring(0, curstr.LastIndexOf("\n") + 1)); helpstr = curstr.Substring(curstr.LastIndexOf("\n") + 1) + helpstr.Substring(2000); + await Task.Delay(200); } await e.User.Send(helpstr); }; @@ -67,6 +68,7 @@ namespace NadekoBot .Do(async e => await e.Send("**FULL README**: \n\n**GUIDE ONLY**: ")); cgb.CreateCommand("-donate") + .Alias("~donate") .Description("Instructions for helping the project!") .Do(async e => { await e.Send(