Open KingTeox opened 2 years ago
When you specify the event it becomes any.
Below is the list with the parameters:
/** https://discord-logs.js.org/ */ /** Channel Events -> Events related to the channelUpdate event. */ guildChannelTopicUpdate: [ channel: GuildChannel, oldTopic: String, newTopic: String ]; guildChannelPermissionsUpdate: [ channel: GuildChannel, oldPermissions: PermissionOverwrites, newPermissions: PermissionOverwrites ]; unhandledGuildChannelUpdate: [ oldChannel: GuildChannel, newChannel: GuildChannel ]; /** Guild Member Events -> Events related to the guildMemberUpdate event. */ guildMemberBoost: [ member: GuildMember ]; guildMemberUnboost: [ member: GuildMember ]; guildMemberRoleAdd: [ member: GuildMember, role: Role ]; guildMemberRoleRemove: [ member: GuildMember, role: Role ]; guildMemberNicknameUpdate: [ member: GuildMember, oldNickname: String, newNickname: String ]; guildMemberEntered: [ member: GuildMember ]; unhandledGuildMemberUpdate: [ oldMember: GuildMember, newMember: GuildMember ]; /** Guild Events -> Events related to the guildUpdate event. */ guildBoostLevelUp: [ guild: Guild, oldLevel: Number, newLevel: Number ]; guildBoostLevelDown: [ guild: Guild, oldLevel: Number, newLevel: Number ]; guildBannerAdd: [ guild: Guild, bannerURL: String ]; guildAfkChannelAdd: [ guild: Guild, afkChannel: String ]; guildVanityURLAdd: [ guild: Guild, vanityURL: String ]; guildVanityURLRemove: [ guild: Guild, vanityURL: String ]; guildVanityURLUpdate: [ guild: Guild, oldVanityURL: String, newVanityURL: String ]; guildFeaturesUpdate: [ oldGuild: Guild, newGuild: Guild ]; guildAcronymUpdate: [ oldGuild: Guild, newGuild: Guild ]; guildOwnerUpdate: [ oldGuild: Guild, newGuild: Guild ]; guildPartnerAdd: [ guild: Guild ]; guildPartnerRemove: [ guild: Guild ]; guildVerificationAdd: [ guild: Guild ]; guildVerificationRemove: [ guild: Guild ]; unhandledGuildUpdate: [ oldGuild: Guild, newGuild: Guild ]; /** Message Events -> Events related to the messageUpdate event. */ messagePinned: [ message: Message ]; messageContentEdited: [ message: Message, oldContent: String, newContent: String ]; unhandledMessageUpdate: [ oldMessage: Message, newMessage: Message ]; /** Presence Events -> Events related to the presenceUpdate event. */ guildMemberOffline: [ member: GuildMember, oldStatus: Status ]; guildMemberOnline: [ member: GuildMember, newStatus: Status ]; unhandledPresenceUpdate: [ oldPresence: Presence, newPresence: Presence ]; /** Role Events -> Events related to the roleUpdate event. */ rolePositionUpdate: [ role: Role, oldPosition: Number, newPosition: Number ]; rolePermissionsUpdate: [ role: Role, oldPermissions: Number, newPermissions: Number ]; unhandledRoleUpdate: [ oldRole: Role, newRole: Role, ]; /** Thread Channel Events -> Events related to the threadUpdate event. */ threadStateUpdate: [ oldThread: ThreadChannel, newThread: ThreadChannel ]; threadNameUpdate: [ thread: ThreadChannel, oldName: String, newName: String ]; threadLockStateUpdate: [ oldThread: ThreadChannel, newThread: ThreadChannel ]; threadRateLimitPerUserUpdate: [ thread: ThreadChannel, oldRateLimitPerUser: Number, newRateLimitPerUser: Number ]; threadAutoArchiveDurationUpdate: [ thread: ThreadChannel, oldAutoArchiveDuration: Number, newAutoArchiveDuration: Number ]; unhandledThreadUpdate: [ oldThread: ThreadChannel, newThread: ThreadChannel ]; /** User Events -> Events related to the userUpdate event. */ userAvatarUpdate: [ user: User, oldAvatarURL: String, newAvatarURL: String ]; userUsernameUpdate: [ user: User, oldUsername: String, newUsername: String ]; userDiscriminatorUpdate: [ user: User, oldDiscriminator: String, newDiscriminator: String ]; userFlagsUpdate: [ user: User, oldFlags: String, newFlags: String ]; unhandledUserUpdate: [ oldUser: User, newUser: User ]; /** Voice Events -> Events related to the voiceStateUpdate event. */ voiceChannelJoin: [ member: GuildMember, channel: GuildChannel ]; voiceChannelLeave: [ member: GuildMember, channel: GuildChannel ]; voiceChannelSwitch: [ member: GuildMember, oldChannel: GuildChannel, newChannel: GuildChannel ]; voiceChannelMute: [ member: GuildMember, type: "self-muted" | "server-muted" ]; voiceChannelUnmute: [ member: GuildMember, type: "self-muted" | "server-muted" ]; voiceChannelDeaf: [ member: GuildMember, type: "self-deafed" | "server-deafed" ]; voiceChannelUndeaf: [ member: GuildMember, type: "self-deafed" | "server-deafed" ]; voiceStreamingStart: [ member: GuildMember, type: GuildChannel ]; voiceStreamingStop: [ member: GuildMember, type: GuildChannel ];
When you specify the event it becomes any.
Below is the list with the parameters: