예제 #1
0
        public LocalMentionsBuilder WithUserIds(IEnumerable <Snowflake> userIds)
        {
            if (userIds == null)
            {
                throw new ArgumentNullException(nameof(userIds));
            }

            UserIds.Clear();
            UserIds.AddRange(userIds);
            return(this);
        }
예제 #2
0
 public UserPermissionFilter(IEnumerable <int> ids)
 {
     UserIds.AddRange(ids);
 }
예제 #3
0
 public RoleUserFilter(IEnumerable <int> ids)
 {
     UserIds.AddRange(ids);
 }