☠️BannedMember

BannedMember is a component that extends the User component.

Properties

PropertyDescriptionType

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(guildID, rawData, client)
PropertiesDescriptionTypeRequired?

guildID

raw data's guild id

String

true

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