help is not instant-ratelimit anymore, need to move it completely to a page
This commit is contained in:
parent
127eb37cfe
commit
070cf5d967
@ -1,17 +1,12 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Discord;
|
using Discord;
|
||||||
using Discord.Commands;
|
using Discord.Commands;
|
||||||
using Discord.Audio;
|
using Discord.Audio;
|
||||||
using NadekoBot.Modules;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using NadekoBot.Extensions;
|
using NadekoBot.Extensions;
|
||||||
using System.Threading;
|
|
||||||
using Timer = System.Timers.Timer;
|
|
||||||
using VideoLibrary;
|
using VideoLibrary;
|
||||||
|
|
||||||
namespace NadekoBot.Classes.Music {
|
namespace NadekoBot.Classes.Music {
|
||||||
|
@ -29,6 +29,7 @@ namespace NadekoBot
|
|||||||
var curstr = helpstr.Substring(0, 2000);
|
var curstr = helpstr.Substring(0, 2000);
|
||||||
await e.User.Send(curstr.Substring(0, curstr.LastIndexOf("\n") + 1));
|
await e.User.Send(curstr.Substring(0, curstr.LastIndexOf("\n") + 1));
|
||||||
helpstr = curstr.Substring(curstr.LastIndexOf("\n") + 1) + helpstr.Substring(2000);
|
helpstr = curstr.Substring(curstr.LastIndexOf("\n") + 1) + helpstr.Substring(2000);
|
||||||
|
await Task.Delay(200);
|
||||||
}
|
}
|
||||||
await e.User.Send(helpstr);
|
await e.User.Send(helpstr);
|
||||||
};
|
};
|
||||||
@ -67,6 +68,7 @@ namespace NadekoBot
|
|||||||
.Do(async e =>
|
.Do(async e =>
|
||||||
await e.Send("**FULL README**: <https://github.com/Kwoth/NadekoBot/blob/master/README.md>\n\n**GUIDE ONLY**: <https://github.com/Kwoth/NadekoBot/blob/master/ComprehensiveGuide.md>"));
|
await e.Send("**FULL README**: <https://github.com/Kwoth/NadekoBot/blob/master/README.md>\n\n**GUIDE ONLY**: <https://github.com/Kwoth/NadekoBot/blob/master/ComprehensiveGuide.md>"));
|
||||||
cgb.CreateCommand("-donate")
|
cgb.CreateCommand("-donate")
|
||||||
|
.Alias("~donate")
|
||||||
.Description("Instructions for helping the project!")
|
.Description("Instructions for helping the project!")
|
||||||
.Do(async e => {
|
.Do(async e => {
|
||||||
await e.Send(
|
await e.Send(
|
||||||
|
Loading…
Reference in New Issue
Block a user