Initial split of the modules
This commit is contained in:
18
NadekoBot.Core/Modules/Permissions/Common/PermissionCache.cs
Normal file
18
NadekoBot.Core/Modules/Permissions/Common/PermissionCache.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using NadekoBot.Services.Database.Models;
|
||||
|
||||
namespace NadekoBot.Modules.Permissions.Common
|
||||
{
|
||||
public class OldPermissionCache
|
||||
{
|
||||
public string PermRole { get; set; }
|
||||
public bool Verbose { get; set; } = true;
|
||||
public Permission RootPermission { get; set; }
|
||||
}
|
||||
|
||||
public class PermissionCache
|
||||
{
|
||||
public string PermRole { get; set; }
|
||||
public bool Verbose { get; set; } = true;
|
||||
public PermissionsCollection<Permissionv2> Permissions { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user