class
CacheSnapshotBuilder extends CacheSnapshotId
Instance Constructors
-
new
CacheSnapshotBuilder(botUser: @@[User, BotUser], dmChannelMap: Map[ChannelId, DMChannel], groupDmChannelMap: Map[ChannelId, GroupDMChannel], unavailableGuildMap: Map[GuildId, UnavailableGuild], guildMap: Map[GuildId, Guild], messageMap: Map[ChannelId, Map[MessageId, Message]], lastTypedMap: Map[ChannelId, Map[UserId, Instant]], userMap: Map[UserId, User], banMap: Map[GuildId, Map[UserId, Ban]])
Type Members
-
type
MapType[K, V] = Map[SnowflakeType[K], V]
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
var
banMap: Map[GuildId, Map[UserId, Ban]]
-
var
botUser: @@[User, BotUser]
-
def
clone(): AnyRef
-
var
dmChannelMap: Map[ChannelId, DMChannel]
-
-
-
def
finalize(): Unit
-
def
getBan(guildId: GuildId, userId: UserId): OptionT[Id, Ban]
-
def
getChannel(id: ChannelId): OptionT[Id, Channel]
-
def
getChannelLastTyped(channelId: ChannelId): Id[Map[SnowflakeType[User], Instant]]
-
def
getChannelMessages(channelId: ChannelId): Id[Map[SnowflakeType[Message], Message]]
-
final
def
getClass(): Class[_]
-
def
getDmChannel(id: ChannelId): OptionT[Id, DMChannel]
-
def
getEmoji(id: EmojiId): OptionT[Id, Emoji]
-
def
getGroupDmChannel(id: ChannelId): OptionT[Id, GroupDMChannel]
-
def
getGuild(id: GuildId): OptionT[Id, Guild]
-
def
getGuildBans(id: GuildId): Id[Map[SnowflakeType[User], Ban]]
-
def
getGuildChannel(id: ChannelId): OptionT[Id, GuildChannel]
-
def
getGuildChannel(guildId: GuildId, id: ChannelId): OptionT[Id, GuildChannel]
-
def
getGuildWithUnavailable(id: GuildId): OptionT[Id, UnknownStatusGuild]
-
def
getLastTyped(channelId: ChannelId, userId: UserId): OptionT[Id, Instant]
-
def
getMessage(messageId: MessageId): OptionT[Id, Message]
-
def
getMessage(channelId: ChannelId, messageId: MessageId): OptionT[Id, Message]
-
def
getPresence(guildId: GuildId, userId: UserId): OptionT[Id, Presence]
-
def
getRole(guildId: GuildId, roleId: RoleId): OptionT[Id, Role]
-
def
getRole(id: RoleId): OptionT[Id, Role]
-
def
getTChannel(id: ChannelId): OptionT[Id, TChannel]
-
def
getUser(id: UserId): OptionT[Id, User]
-
def
getUserDmChannel(id: UserId): OptionT[Id, DMChannel]
-
var
groupDmChannelMap: Map[ChannelId, GroupDMChannel]
-
var
guildMap: Map[GuildId, Guild]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
var
lastTypedMap: Map[ChannelId, Map[UserId, Instant]]
-
def
mapK[G[_]](f: ~>[Id, G]): CacheSnapshot[G]
-
var
messageMap: Map[ChannelId, Map[MessageId, Message]]
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
-
def
toString(): String
-
var
unavailableGuildMap: Map[GuildId, UnavailableGuild]
-
var
userMap: Map[UserId, User]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from CacheSnapshot[Id]
A mutable builder for creating a new snapshot