21 lines
460 B
C#
21 lines
460 B
C#
using Myriad.Types;
|
|
|
|
namespace Myriad.Extensions;
|
|
|
|
public static class GuildExtensions
|
|
{
|
|
public static int FileSizeLimit(this Guild guild)
|
|
{
|
|
switch (guild.PremiumTier)
|
|
{
|
|
default:
|
|
case PremiumTier.NONE:
|
|
case PremiumTier.TIER_1:
|
|
return 25;
|
|
case PremiumTier.TIER_2:
|
|
return 50;
|
|
case PremiumTier.TIER_3:
|
|
return 100;
|
|
}
|
|
}
|
|
} |