BannedMember represents a banned guild member.

Hierarchy

Constructors

Properties

_createdAt: number

Timestamp (unix epoch time) of the user's account creation.

avatarURL: null | string

Current avatar url of the user.

ban: {
    createdAt: null | number;
    createdBy: string;
    reason?: string;
}

Information about the banned member (object)

Type declaration

  • createdAt: null | number

    Timestamp (unix epoch time) of when the member has been banned.

  • createdBy: string

    ID of the member that banned the user.

  • Optional reason?: string

    Reason of the ban

bannerURL: null | string

Current banned url of the user.

bot: boolean

If set to true, the user is a bot.

client: Client

Bot's client.

guildID: string

Server ID.

id: string | number

Item ID

type: null | UserTypes

User type

username: string

User's username.

Accessors

  • get createdAt(): Date
  • Date of the user's account creation.

    Returns Date