RestCord logo RestCord

getGuildBans

$client->guild->getGuildBans($parameters);

Description

Requires the 'BAN_MEMBERS' permission.

Parameters

Name Type Required Default
guild.id snowflake true null

Response

Returns a list of user objects that are banned from this guild.

Can Return: