Use Snowflake#Empty extension method instead of '== 0' checks (#134)

This commit is contained in:
Octol1ttle 2023-09-30 20:53:05 +05:00 committed by GitHub
parent e283ba5a6d
commit 6247a55a35
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -174,7 +174,7 @@ public sealed class UtilityService : IHostedService
return Result<string>.FromError(usersResult);
}
if (role.Value is not 0)
if (!role.Empty())
{
builder.Append($"{Mention.Role(role)} ");
}