Added GetArg(name) to CommandEventArgs

This commit is contained in:
RogueException
2015-11-22 20:28:51 -04:00
parent 3f9e9040a5
commit 64e6ea4173
3 changed files with 10 additions and 13 deletions

View File

@@ -61,14 +61,8 @@ namespace Discord.Commands
await client.SendMessage(replyChannel, "Unable to display help: Unknown command.");
}
else //Show general help
/* Unmerged change from project 'Discord.Net.Commands'
Before:
await ShowHelp(e.User, e.Channel, replyChannel);
After:
await this.ShowHelp((User)e.User, e.Channel, replyChannel);
*/
await this.ShowGeneralHelp(e.User, (Channel)e.Channel, (Channel)replyChannel);
await ShowGeneralHelp(e.User, e.Channel, replyChannel);
}));
}