public BotPermAttribute(ChannelPerm permission) : base((ChannelPermission)permission) { }
public static string GetPreconditionString(ChannelPerm perm) { return((perm.ToString() + " Channel Permission") .Replace("Guild", "Server", StringComparison.InvariantCulture)); }
public UserPermAttribute(ChannelPerm permission) { UserPermissionAttribute = new RequireUserPermissionAttribute((ChannelPermission)permission); }