Currently untested. Unable to properly test until the module system is developed further.
16 lines
407 B
C#
16 lines
407 B
C#
using Kerobot.Services.GuildState;
|
|
using System;
|
|
|
|
namespace Kerobot
|
|
{
|
|
partial class Kerobot
|
|
{
|
|
private GuildStateService _svcGuildState;
|
|
|
|
/// <summary>
|
|
/// See <see cref="ModuleBase.GetGuildState{T}(ulong)"/>.
|
|
/// </summary>
|
|
internal T GetGuildState<T>(ulong guild, Type type)
|
|
=> _svcGuildState.RetrieveGuildStateObject<T>(guild, type);
|
|
}
|
|
}
|