Update crew.js

This commit is contained in:
Lucas Gabriel 2024-09-08 00:21:38 -03:00 committed by GitHub
parent 1b55e1b69a
commit 6b94624d5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,6 +3,7 @@ const { getStrings } = require('../plugins/checklang.js');
const { isOnSpamWatch } = require('../plugins/lib-spamwatch/spamwatch.js'); const { isOnSpamWatch } = require('../plugins/lib-spamwatch/spamwatch.js');
const spamwatchMiddleware = require('../plugins/lib-spamwatch/Middleware.js')(isOnSpamWatch); const spamwatchMiddleware = require('../plugins/lib-spamwatch/Middleware.js')(isOnSpamWatch);
const os = require('os'); const os = require('os');
const { exec } = require('child_process');
function getGitCommitHash() { function getGitCommitHash() {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {