Interface ICommandContext
The context of a command. This may include the client, guild, channel, user, and message.
public interface ICommandContext
Properties
Channel
Current channel for the context.
IChannel Channel { get; }
Property Value
Client
Fluxer base client for the context.
FluxerClient Client { get; }
Property Value
Command
Command info from the command used.
CommandInfo Command { get; }
Property Value
Gateway
Fluxer gateway client for the context.
FluxerGatewayClient Gateway { get; }
Property Value
Guild
Current guild for the context.
IGuild? Guild { get; }
Property Value
IsPrivate
Channel is a DM.
bool IsPrivate { get; }
Property Value
Member
Current server member for the context.
IGuildMember? Member { get; }
Property Value
Message
Current message for the context.
IMessage Message { get; }
Property Value
Rest
Fluxer http client for the context.
FluxerApiClient Rest { get; }
Property Value
User
Current user for the context.
IUser User { get; }