.cache

Type: Collection

.client

Type: Client

.shouldCacheBan

.ban(serverId:

string

,

userId:

string

)

Type: Promise<MemberBan>

Bans a user from a server.

.fetch(serverId:

string

,

userId:

string

,

force:

boolean

)

Type: Promise<MemberBan>

Fetches a member ban in a server.

.fetchMany(serverId:

string

)

Type: Promise<Collection>

Fetches all bans in a server.

.unban(serverId:

string

,

userId:

string

,

removeBanIfCached:

boolean

)

Type: Promise<unknown>

Unbans a user from a server.