Nostrum.Api.create_guild_ban

You're seeing just the function create_guild_ban, go back to Nostrum.Api module for more information.
Link to this function

create_guild_ban(guild_id, user_id, days_to_delete, reason \\ nil)

View Source

Specs

create_guild_ban(
  integer(),
  integer(),
  integer(),
  Nostrum.Struct.Guild.AuditLogEntry.reason()
) :: error() | {:ok}

Bans a user from a guild.

User to delete is specified by guild_id and user_id. An optional reason can be specified for the audit log.