Added support for custom ModuleBase command contexts. Added SocketCommandContext/RpcCommandContext.
This commit is contained in:
11
src/Discord.Net.Core/Commands/ICommandContext.cs
Normal file
11
src/Discord.Net.Core/Commands/ICommandContext.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace Discord.Commands
|
||||
{
|
||||
public interface ICommandContext
|
||||
{
|
||||
IDiscordClient Client { get; }
|
||||
IGuild Guild { get; }
|
||||
IMessageChannel Channel { get; }
|
||||
IUser User { get; }
|
||||
IUserMessage Message { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user