Fixed .resetperms
This commit is contained in:
parent
4f771873fc
commit
5d12e48f44
@ -263,7 +263,7 @@ namespace NadekoBot.Services
|
|||||||
}
|
}
|
||||||
|
|
||||||
var cmd = commands[i].Command;
|
var cmd = commands[i].Command;
|
||||||
bool resetCommand = cmd.Name == "ResetPermissions";
|
bool resetCommand = cmd.Name == "resetperms";
|
||||||
var module = cmd.Module.GetTopLevelModule();
|
var module = cmd.Module.GetTopLevelModule();
|
||||||
PermissionCache pc;
|
PermissionCache pc;
|
||||||
if (context.Guild != null)
|
if (context.Guild != null)
|
||||||
|
Loading…
Reference in New Issue
Block a user