Split IMessage into IUserMessage and ISystemMessage
This commit is contained in:
@@ -21,7 +21,7 @@ namespace Discord.Commands
|
||||
Contexts = contexts;
|
||||
}
|
||||
|
||||
public override Task<PreconditionResult> CheckPermissions(IMessage context, Command executingCommand, object moduleInstance)
|
||||
public override Task<PreconditionResult> CheckPermissions(IUserMessage context, Command executingCommand, object moduleInstance)
|
||||
{
|
||||
bool isValid = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user