Table of Contents

Interface IGuildContext

Namespace
NetCord.Services
Assembly
NetCord.Services.dll

Provides access to guild information for commands and interactions.

public interface IGuildContext : IContext

Properties

Guild

Guild in which the handled command or interaction was invoked.

Guild? Guild { get; }

Property Value

Guild

Remarks

May be null if the handled command or interaction was invoked outside of a guild or if the guild has not been cached.

GuildId

ulong? GuildId { get; }

Property Value

ulong?