Interface: ClientOptions
Properties
disablesEvents
• Optional disablesEvents: ("ApplicationCommandPermissionsUpdate" | "ChannelCreate" | "ChannelDelete" | "ChannelPinsUpdate" | "ChannelUpdate" | "GuildBanAdd" | "GuildBanRemove" | "GuildCreate" | "GuildDelete" | "GuildEmojisUpdate" | "GuildIntegrationsUpdate" | "GuildMemberAdd" | "GuildMemberRemove" | "GuildMembersChunk" | "GuildMemberUpdate" | "GuildRoleCreate" | "GuildRoleDelete" | "GuildRoleUpdate" | "GuildStickersUpdate" | "GuildUpdate" | "IntegrationCreate" | "IntegrationDelete" | "IntegrationUpdate" | "InteractionCreate" | "InviteCreate" | "InviteDelete" | "MessageCreate" | "MessageDelete" | "MessageDeleteBulk" | "MessageReactionAdd" | "MessageReactionRemove" | "MessageReactionRemoveAll" | "MessageReactionRemoveEmoji" | "MessageUpdate" | "PresenceUpdate" | "StageInstanceCreate" | "StageInstanceDelete" | "StageInstanceUpdate" | "Ready" | "Resumed" | "ThreadCreate" | "ThreadDelete" | "ThreadListSync" | "ThreadMembersUpdate" | "ThreadMemberUpdate" | "ThreadUpdate" | "TypingStart" | "UserUpdate" | "VoiceServerUpdate" | "VoiceStateUpdate" | "WebhooksUpdate" | "GuildScheduledEventCreate" | "GuildScheduledEventUpdate" | "GuildScheduledEventDelete" | "GuildScheduledEventUserAdd" | "GuildScheduledEventUserRemove")[]
list of events that the client don't must emit
Defined in
packages/libcord/src/Client.ts:56
fetchAllMembers
• Optional fetchAllMembers: boolean
fetch all members and users
Default
false
Defined in
packages/libcord/src/Client.ts:66
intents
• intents: ("GUILDS" | "GUILD_MEMBERS" | "GUILD_BANS" | "GUILD_EMOJIS" | "GUILD_INTEGRATIONS" | "GUILD_WEBHOOKS" | "GUILD_INVITES" | "GUILD_VOICE_STATES" | "GUILD_PRESENCES" | "GUILD_MESSAGES" | "GUILD_MESSAGE_REACTIONS" | "GUILD_MESSAGE_TYPING" | "DIRECT_MESSAGES" | "DIRECT_MESSAGE_REACTIONS" | "DIRECT_MESSAGE_TYPING")[] | Intents[]
list of intents to disable list-of-intents
Defined in
packages/libcord/src/Client.ts:60
isABot
• Optional isABot: boolean
if the user is a bot
Default
true
Defined in
packages/libcord/src/Client.ts:72
presence
• Optional presence: Presence
a object of presence
Defined in
packages/libcord/src/Client.ts:52
slashCommandByDefault
• Optional slashCommandByDefault: boolean
if the bot fetch self all slash commands
Default
true
Defined in
packages/libcord/src/Client.ts:77
token
• Optional token: string
The token for the bot is required