Skip to main content

Interface ICommandContext

Represents a context of a command. This may include the client, guild, channel, user, and message.

Assembly: Revolt.Net.Commands.dll​
View Source​
Declaration
public interface ICommandContext

Properties​

Arguments​

View Source​
Declaration
string Arguments { get; set; }

Message​

View Source​
Declaration
Message Message { get; }

User​

View Source​
Declaration
User User { get; }

Channel​

View Source​
Declaration
Channel Channel { get; }

Client​

View Source​
Declaration
RevoltClient Client { get; }

Server​

View Source​
Declaration
Server Server { get; }