MockGuildOverrides
interface in meocord/testing Since 4.1.0
interface MockGuildOverridesWhat createMockGuild puts in the guild's caches, as the gateway would have filled them.
Members
id
id?: stringThe guild's id.
name
name?: stringThe guild's name, 'Guild' unless given.
preferredLocale
preferredLocale?: LocaleThe language the guild's community set, 'en-US' unless given; t.forGuild() reads it.
members
members?: readonly GuildMember[]Members in members.cache, by their id.
roles
roles?: readonly Role[]Roles in roles.cache, by their id.
channels
channels?: readonly GuildBasedChannel[]Channels in channels.cache, by their id.