forked from TeamInklings/Octobot
Use Snowflake#Empty extension method instead of '== 0' checks (#134)
This commit is contained in:
parent
e283ba5a6d
commit
6247a55a35
3 changed files with 3 additions and 3 deletions
|
@ -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)} ");
|
||||
}
|
||||
|
|
Reference in a new issue