Renamed User.CreateChannel to CreatePMChannel, added DiscordClient.CreatePMChannel(userId)

This commit is contained in:
RogueException
2015-12-31 04:24:23 -04:00
parent c19a353549
commit aa040193a1
4 changed files with 13 additions and 11 deletions

View File

@@ -49,7 +49,7 @@ namespace Discord.Commands
.Description("Returns information about commands.")
.Do(async e =>
{
Channel replyChannel = _config.HelpMode == HelpMode.Public ? e.Channel : await e.User.CreateChannel().ConfigureAwait(false);
Channel replyChannel = _config.HelpMode == HelpMode.Public ? e.Channel : await e.User.CreatePMChannel().ConfigureAwait(false);
if (e.Args.Length > 0) //Show command help
{
var map = _map.GetItem(string.Join(" ", e.Args));