Netharria_Grimoire/Grimoire.Core/Extensions/RewardExtensions.cs
// This file is part of the Grimoire Project.
//
// Copyright (c) Netharia 2021-Present.
//
// All rights reserved.
// Licensed under the AGPL-3.0 license. See LICENSE file in the project root for full license information.

namespace Grimoire.Core.Extensions;

public static class RewardExtensions
{
    public static string Mention(this Reward? reward)
        =>
        reward switch
        {
            Reward => $"<@&{reward.RoleId}>",
            null => "Unknown Role",
        };
}
