Cleaned up channel permissions, added GetChannelPermissions.

This commit is contained in:
RogueException
2015-11-09 02:02:05 -04:00
parent 2e4f880563
commit a5e2e9ca10
5 changed files with 42 additions and 20 deletions

View File

@@ -102,12 +102,7 @@ namespace Discord.Commands
return cmd;
}
else
{
if (prefix != "")
return prefix;
else
throw new ArgumentOutOfRangeException(nameof(cmd));
}
return prefix;
}
}
public sealed class CommandGroupBuilder