using Microsoft.EntityFrameworkCore; using NadekoBot.Services.Database.Models; using System; using System.Collections.Generic; using System.Linq; namespace NadekoBot.Services.Database.Repositories { public interface IGuildConfigRepository : IRepository { GuildConfig For(ulong guildId, Func, IQueryable> includes = null); GuildConfig PermissionsFor(ulong guildId); IEnumerable PermissionsForAll(); IEnumerable GetAllGuildConfigs(); GuildConfig SetNewRootPermission(ulong guildId, Permission p); IEnumerable GetAllFollowedStreams(); void SetCleverbotEnabled(ulong id, bool cleverbotEnabled); } }