11 lines
270 B
C#
11 lines
270 B
C#
using Torch.Commands;
|
|
namespace LightPerms.TorchCommands;
|
|
|
|
public static class Extensions
|
|
{
|
|
public static string GetPermissionString(this Command command)
|
|
{
|
|
return $"command.{string.Join(".", command.Path.Select(b => b.ToLowerInvariant()))}";
|
|
}
|
|
}
|