public static bool IsMentionableBy(this IMentionable obj, ulong userId, Server inServer) { return(obj.IsMentionableByAsync(userId, inServer).Await()); }
public static bool IsMentionableBy(this IMentionable obj, LazyUser user, Server inServer) { return(obj.IsMentionableByAsync(user, inServer).Await()); }
public static bool IsMentionableBy(this IMentionable obj, LazyUser user, Server inServer, [CanBeNull] Client client) { return(obj.IsMentionableByAsync(user, inServer, client).Await()); }
public static bool IsMentionableBy(this IMentionable obj, ulong userId, ulong inServerId, [CanBeNull] Client client) { return(obj.IsMentionableByAsync(userId, inServerId, client).Await()); }
public static async Task <bool> IsMentionableByAsync(this IMentionable obj, LazyUser user, Server inServer) { return(await obj.IsMentionableByAsync(user.Id, inServer.Id, null)); }
public static async Task <bool> IsMentionableByAsync(this IMentionable obj, ulong userId, ulong inServerId) { return(await obj.IsMentionableByAsync(userId, inServerId, null)); }
public static async Task <bool> IsMentionableByAsync(this IMentionable obj, LazyUser user, Server inServer, [CanBeNull] Client client) { return(await obj.IsMentionableByAsync(user.Id, inServer.Id, client)); }