mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
fix: Fixed greet/bye messages showing wrong message in the wrong server sometimes
docs: Version upped to 5.1.12. Updated CHANGELOG.md
This commit is contained in:
@@ -2,9 +2,9 @@ namespace NadekoBot.Extensions;
|
||||
|
||||
public static class BotCredentialsExtensions
|
||||
{
|
||||
public static bool IsOwner(this IBotCredentials creds, IUser user)
|
||||
public static bool IsOwner(this IBotCreds creds, IUser user)
|
||||
=> creds.IsOwner(user.Id);
|
||||
|
||||
public static bool IsOwner(this IBotCredentials creds, ulong userId)
|
||||
public static bool IsOwner(this IBotCreds creds, ulong userId)
|
||||
=> creds.OwnerIds.Contains(userId);
|
||||
}
|
Reference in New Issue
Block a user