Apply TTS skips from message deletion & bans when merging with other chats. Fixed group permissions.

This commit is contained in:
Tom
2024-08-06 22:50:45 +00:00
parent 8a0e55bb95
commit ed68cc47e6
3 changed files with 49 additions and 19 deletions

View File

@ -69,7 +69,7 @@ namespace TwitchChatTTS.Chat.Commands
// Check if command can be executed by this chatter.
var command = selectorResult.Command;
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;
if (!executable)