Table of Contents

Class CreateGuildBanRequest

Namespace
Fluxer.Net.Rest
Assembly
Fluxer.Net.dll
public class CreateGuildBanRequest
Inheritance
object
CreateGuildBanRequest

Properties

BanDurationSeconds

Duration of the ban in seconds (0 or null for permanent, or anything greater than zero for it to be temporary)

[JsonProperty("ban_duration_seconds")]
public int? BanDurationSeconds { get; set; }

Property Value

int?

DeleteMessageDays

Number of days of messages to delete from the banned user (0-7)

[JsonProperty("delete_message_days")]
public int? DeleteMessageDays { get; set; }

Property Value

int?

Reason

The reason for the ban (max 512 characters)

[JsonProperty("reason")]
public string? Reason { get; set; }

Property Value

string