fuck windows and not having a dig command

This commit is contained in:
monty 2019-12-22 10:03:14 +01:00
parent a965dd70e2
commit fa4b8a3b86
4 changed files with 16 additions and 4 deletions

View File

@ -90,7 +90,7 @@ module.exports = {
setTimeout(() => timestamps.delete(msg.author.id), cooldownAmount); setTimeout(() => timestamps.delete(msg.author.id), cooldownAmount);
cmd.command(ctx).then(() => {}).catch((err) => { cmd.command(ctx).then(() => {}).catch((err) => {
if (!cmd.name.includes('e926' || 'e621')) { if (!cmd.name.includes('e926') || !cmd.name.includes('e621')) {
trello trello
.addCard( .addCard(
cmd.name + ' | ' + err.message, cmd.name + ' | ' + err.message,

13
package-lock.json generated
View File

@ -2012,6 +2012,11 @@
"package-json": "^4.0.0" "package-json": "^4.0.0"
} }
}, },
"lodash.compact": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/lodash.compact/-/lodash.compact-3.0.1.tgz",
"integrity": "sha1-VAzjg3dFl1gHRx4WtKK6IeclbKU="
},
"lodash.get": { "lodash.get": {
"version": "4.4.2", "version": "4.4.2",
"resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz",
@ -2252,6 +2257,14 @@
"resolved": "https://registry.npmjs.org/nocache/-/nocache-2.1.0.tgz", "resolved": "https://registry.npmjs.org/nocache/-/nocache-2.1.0.tgz",
"integrity": "sha512-0L9FvHG3nfnnmaEQPjT9xhfN4ISk0A8/2j4M37Np4mcDesJjHgEUfgPhdCyZuFI954tjokaIj/A3NdpFNdEh4Q==" "integrity": "sha512-0L9FvHG3nfnnmaEQPjT9xhfN4ISk0A8/2j4M37Np4mcDesJjHgEUfgPhdCyZuFI954tjokaIj/A3NdpFNdEh4Q=="
}, },
"node-dig-dns": {
"version": "0.2.10",
"resolved": "https://registry.npmjs.org/node-dig-dns/-/node-dig-dns-0.2.10.tgz",
"integrity": "sha512-LKkPyrtNwf1oU9YYh68La4r+pN10exwcJhgNiLiJKZ7X6v9B5lMimXpqP9RE9jD+Hg/9cnvTYGtUCmt03lbpSA==",
"requires": {
"lodash.compact": "^3.0.1"
}
},
"node-fetch": { "node-fetch": {
"version": "2.6.0", "version": "2.6.0",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz",

View File

@ -19,6 +19,7 @@
"helmet": "*", "helmet": "*",
"moment": "*", "moment": "*",
"morgan": "^1.9.1", "morgan": "^1.9.1",
"node-dig-dns": "^0.2.10",
"nodemon": "^1.19.4", "nodemon": "^1.19.4",
"ora": "^4.0.2", "ora": "^4.0.2",
"phin": "*", "phin": "*",

4
run.sh
View File

@ -1,9 +1,7 @@
#!/bin/bash #!/bin/bash
FILE=index FILE=index
NODE=node NODE=node
while true; while true;
do do
$NODE $(pwd)/$FILE.js $NODE $(pwd)/$FILE.js
done done