Interface IGuildContext
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
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; }