Fixed webcam event breaking mash listener.
This commit is contained in:
@@ -188,7 +188,7 @@ function onCommand(args, context) {
|
||||
}
|
||||
|
||||
function onMessage(message, context) {
|
||||
if (mash && context.user.id !== config.user.id) {
|
||||
if (mash && context.user?.id !== config.user.id) {
|
||||
play(message.body, context, true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user