public CacheClient(string prefix) { Prefix = prefix; Channels = new ChannelStore(this); EditableMessages = new EditableMessagesStore(this); Emojis = new EmojiStore(this); Guilds = new GuildStore(this); Members = new MemberStore(this); Messages = new MessageStore(this); Roles = new RoleStore(this); Users = new UserStore(this); VoiceStates = new VoiceStateStore(this); }
internal CacheClient(IClient client, string prefix) { Prefix = prefix; Client = client; Channels = new ChannelStore(this); GuildChannels = new GuildChannelStore(this); EditableMessages = new EditableMessagesStore(this); GuildEmojis = new GuildEmojiStore(this); Guilds = new GuildStore(this); GuildMembers = new GuildMemberStore(this); Messages = new MessageStore(this); GuildRoles = new GuildRoleStore(this); Users = new UserStore(this); VoiceStates = new VoiceStateStore(this); }