Fixed compile error
This commit is contained in:
@@ -175,7 +175,7 @@ namespace Discord
|
|||||||
if (name == null) throw new ArgumentNullException(nameof(name));
|
if (name == null) throw new ArgumentNullException(nameof(name));
|
||||||
CheckReady();
|
CheckReady();
|
||||||
|
|
||||||
return FindUsers(channel.Members, channel.IsPrivate ? (long?)null : channel.Server.Id, name, discriminator, exactMatch);
|
return FindUsers(channel.Members, channel.IsPrivate ? (long?)null : channel.Server.Id, name, null, exactMatch);
|
||||||
}
|
}
|
||||||
|
|
||||||
private IEnumerable<User> FindUsers(IEnumerable<User> users, long? serverId, string name, short? discriminator = null, bool exactMatch = false)
|
private IEnumerable<User> FindUsers(IEnumerable<User> users, long? serverId, string name, short? discriminator = null, bool exactMatch = false)
|
||||||
|
|||||||
Reference in New Issue
Block a user