public static new ServerTextChannel GetCached(ulong channelId) { return(FactoryUtils.GetCached(_cache, channelId)); }
public static IDirectMessageChannel GetCachedDirectMessageChannel(ulong channelId) { return((IDirectMessageChannel)FactoryUtils.GetCached(_globalCache, channelId)); }
public static Server GetCached(ulong serverId) { return(FactoryUtils.GetCached(_cache, serverId)); }
public static INonCatServerChannel GetCachedNonCatServerChannel(ulong channelId) { return((INonCatServerChannel)FactoryUtils.GetCached(_globalCache, channelId)); }
public static IChannel GetCachedNonCatChannel(ulong channelId) { return(FactoryUtils.GetCached(_globalCache, channelId)); }
public static ChannelCategory GetCached(ulong categoryId) { return(FactoryUtils.GetCached(_cache, categoryId)); }
public static new DirectMessageTextChannel GetCached(ulong channelId) { return(FactoryUtils.GetCached(_cache, channelId)); }
public static TextChannel GetCached(ulong channelId) { return(FactoryUtils.GetCached(DirectMessageTextChannel._cache, channelId) ?? (TextChannel)FactoryUtils.GetCached(ServerTextChannel._cache, channelId)); }