Alchemy.Client.get_bans
You're seeing just the function
get_bans
, go back to Alchemy.Client module for more information.
Link to this function
get_bans(guild_id)
Specs
get_bans(snowflake()) :: {:ok, [Alchemy.User.t()]} | {:error, term()}
Gets a list of users banned from this guild.
Requires the :ban_members
permission.
Examples
{:ok, bans} = Client.get_bans(guild_id)