☠️BannedMember

BannedMember is a component that extends the User component.

Properties

Property
Description
Type

guildID

ID of the Guild

String

ban

ban information

Object

ban.reason

reason of the ban

String

ban.createdAt

timestamp of when the user has been banned.

Number|null

ban.createdBy

Banned Member ID.

String

user

Banned member information.

Object

user.id

Banned member id

String

user.type

Banned member type

String

user.username

Banned member username

String

guild

Guild/server component

Constructor

new BannedMember(rawData, client)
Properties
Description
Type
Required?

rawData

raw data received from ws and converted to JSON

Object

true

client

Client

true

Do not use this constructor unless you know what you're doing. This constructor is used to return you rawdata into component.

Last updated