Voltana's at it again, new api changes.

This commit is contained in:
Kwoth
2015-12-10 04:32:29 +01:00
parent 4f3e58e1f0
commit e0ff0b4447
3 changed files with 12 additions and 11 deletions

View File

@@ -26,10 +26,10 @@ namespace NadekoBot
while (helpstr.Length > 2000)
{
var curstr = helpstr.Substring(0, 2000);
await client.SendPrivateMessage(e.User, curstr.Substring(0, curstr.LastIndexOf("\n")+1));
await client.SendMessage(e.User, curstr.Substring(0, curstr.LastIndexOf("\n")+1));
helpstr = curstr.Substring(curstr.LastIndexOf("\n")+1) + helpstr.Substring(2000);
}
await client.SendPrivateMessage(e.User, helpstr);
await client.SendMessage(e.User, helpstr);
};
}