fixed ~ani and ~mang

This commit is contained in:
Master Kwoth committed 2016-03-03 10:10:08 +01:00
1 parent ffb63f9e81
commit 4c0e832463
9 files changed
+60 -55

No files matched your search

+2 -2
View File
@@ -44,7 +44,7 @@ namespace NadekoBot.Modules {
if (!(await SearchHelper.ValidateQuery(e.Channel, e.GetArg("query")))) return;
string result;
try {
result = (await SearchHelper.GetAnimeQueryResultLink(e.GetArg("query"))).ToString();
result = (await SearchHelper.GetAnimeData(e.GetArg("query"))).ToString();
} catch {
await e.Channel.SendMessage("Failed to find that anime.");
return;
@@ -61,7 +61,7 @@ namespace NadekoBot.Modules {
if (!(await SearchHelper.ValidateQuery(e.Channel, e.GetArg("query")))) return;
string result;
try {
result = (await SearchHelper.GetMangaQueryResultLink(e.GetArg("query"))).ToString();
result = (await SearchHelper.GetMangaData(e.GetArg("query"))).ToString();
} catch {
await e.Channel.SendMessage("Failed to find that anime.");
return;