Merge branch 'master' of https://git.goblincaves.com/tom/hermes-client
This commit is contained in:
commit
eb8bfdf6b0
@ -69,7 +69,7 @@ namespace TwitchChatTTS.Chat.Commands
|
|||||||
// Check if command can be executed by this chatter.
|
// Check if command can be executed by this chatter.
|
||||||
var command = selectorResult.Command;
|
var command = selectorResult.Command;
|
||||||
long chatterId = long.Parse(message.ChatterUserId);
|
long chatterId = long.Parse(message.ChatterUserId);
|
||||||
if (chatterId != _user.OwnerId)
|
//if (chatterId != _user.OwnerId)
|
||||||
{
|
{
|
||||||
bool executable = command.AcceptCustomPermission ? CanExecute(chatterId, groups, $"tts.commands.{com}", selectorResult.Permissions) : false;
|
bool executable = command.AcceptCustomPermission ? CanExecute(chatterId, groups, $"tts.commands.{com}", selectorResult.Permissions) : false;
|
||||||
if (!executable)
|
if (!executable)
|
||||||
|
Loading…
Reference in New Issue
Block a user