Interface GatewayEvent_ServerMemberUnbanned

interface GatewayEvent_ServerMemberUnbanned {
    serverId: string;
    serverMemberBan: {
        createdAt: string;
        createdBy: string;
        reason?: string;
        user: {
            avatar?: string;
            id: string;
            name: string;
            type?: UserSummaryType;
        };
    };
}

Properties

serverId: string

The ID of the server

serverMemberBan: {
    createdAt: string;
    createdBy: string;
    reason?: string;
    user: {
        avatar?: string;
        id: string;
        name: string;
        type?: UserSummaryType;
    };
}

Type declaration

  • createdAt: string

    Created at Format: date-time

    The ISO 8601 timestamp that the server member ban was created at

  • createdBy: string

    Created by

    The ID of the user who created this server member ban

  • Optionalreason?: string

    Reason

    The reason for the ban as submitted by the banner

  • user: {
        avatar?: string;
        id: string;
        name: string;
        type?: UserSummaryType;
    }
    • Optionalavatar?: string

      Avatar Format: media-uri

      The avatar image associated with the user

    • id: string

      User ID Format: user-id

      The ID of the user

    • name: string

      User name

      The user's name

    • Optionaltype?: UserSummaryType

      User type

      The type of user. If this property is absent, it can assumed to be of type user