Export

ChannelProperties

interface ChannelProperties {
    options: ChannelOptions;
    rolesChangesListener: ((oldMember, newMember) => Promise<void>);
}

Properties

The option defined by the user for a channel.

rolesChangesListener: ((oldMember, newMember) => Promise<void>)

The listener for the GuildMemberUpdate event.

Type declaration

    • (oldMember, newMember): Promise<void>
    • Parameters

      • oldMember: GuildMember | PartialGuildMember
      • newMember: GuildMember

      Returns Promise<void>