help moved to a github gist for now

This commit is contained in:
Master Kwoth 2016-02-19 05:57:26 +01:00
parent aa86359ea0
commit 45d4b7e8f4
2 changed files with 11 additions and 3 deletions

View File

@ -10,6 +10,7 @@ namespace NadekoBot
{
public override Func<CommandEventArgs, Task> DoFunc() => async e =>
{
/*
string helpstr = "**COMMANDS DO NOT WORK IN PERSONAL MESSAGES**\nOfficial repo: **github.com/Kwoth/NadekoBot/**";
string lastCategory = "";
@ -31,7 +32,8 @@ namespace NadekoBot
helpstr = curstr.Substring(curstr.LastIndexOf("\n") + 1) + helpstr.Substring(2000);
await Task.Delay(200);
}
await e.User.Send(helpstr);
*/
await e.User.Send("**LIST OF COMMANDS CAN BE FOUND ON THIS LINK**\n\n <https://gist.github.com/Kwoth/1ab3a38424f208802b74>");
};
public Action<CommandEventArgs> DoGitFunc() => e => {
@ -66,7 +68,13 @@ namespace NadekoBot
.Alias("-guide")
.Description("Sends a readme and a guide links to the channel.")
.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>
**GUIDE ONLY**: <https://github.com/Kwoth/NadekoBot/blob/master/ComprehensiveGuide.md>
**LIST OF COMMANDS**: <https://gist.github.com/Kwoth/1ab3a38424f208802b74>"));
cgb.CreateCommand("-donate")
.Alias("~donate")
.Description("Instructions for helping the project!")

View File

@ -173,7 +173,7 @@ namespace NadekoBot {
if (!repliedRecently) {
repliedRecently = true;
await e.Send("**COMMANDS DO NOT WORK IN PERSONAL MESSAGES**\nYou can type `-h` or `-help` or `@MyName help` in any of the channels I am in and I will send you a message with my commands.\n Or you can find out what i do here: https://github.com/Kwoth/NadekoBot\nYou can also just send me an invite link to a server and I will join it.\nIf you don't want me on your server, you can simply ban me ;(\nBot Creator's server: https://discord.gg/0ehQwTK2RBhxEi0X");
await e.Send("**FULL LIST OF COMMANDS**:\n❤ <https://gist.github.com/Kwoth/1ab3a38424f208802b74> ❤\n\n⚠**COMMANDS DO NOT WORK IN PERSONAL MESSAGES**\n\n\n**Bot Creator's server:** <https://discord.gg/0ehQwTK2RBhxEi0X>");
Timer t = new Timer();
t.Interval = 2000;
t.Start();