Search Results for

    Show / Hide Table of Contents

    Class KuracordInviteGuild

    Represents a guild to which the user is invited.

    Inheritance
    Object
    SnowflakeObject
    KuracordInviteGuild
    Inherited Members
    SnowflakeObject.Id
    SnowflakeObject.CreationTimestamp
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Namespace: KSharpPlus.Entities.Invite
    Assembly: KSharpPlus.dll
    Syntax
    public class KuracordInviteGuild : SnowflakeObject

    Properties

    | Improve this Doc View Source

    Description

    Gets the guild's description.

    Declaration
    public string Description { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Disabled

    Gets whether the guild is disabled.

    Declaration
    public bool Disabled { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    IconHash

    Gets the guild icon's hash.

    Declaration
    public string IconHash { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    IconUrl

    Gets the guild icon's url.

    Declaration
    public string IconUrl { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Name

    Gets the name of the guild.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    VanityCode

    Gets the guild's vanity invite code.

    Declaration
    public string VanityCode { get; }
    Property Value
    Type Description
    String

    Methods

    | Improve this Doc View Source

    AcceptAsync()

    Joins a guild.

    Declaration
    public Task<KuracordGuild> AcceptAsync()
    Returns
    Type Description
    Task<KuracordGuild>

    The requested guild.

    Exceptions
    Type Condition
    NotFoundException

    Thrown when the guild does not exist.

    BadRequestException

    Thrown when an invalid parameter was provided.

    ServerErrorException

    Thrown when Kuracord is unable to process the request.

    | Improve this Doc View Source

    GetIconUrl()

    Gets guild's icon URL.

    Declaration
    public string GetIconUrl()
    Returns
    Type Description
    String

    The URL of the guild's icon.

    | Improve this Doc View Source

    ToString()

    Returns a string representation of this invite.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    String representation of this invite.

    Overrides
    Object.ToString()
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2023 KSharpPlus Contributors