1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 00:10:58 -05:00

Compare commits

..

3 Commits

Author SHA1 Message Date
Toast
337057b5b7
Update messageCreate.ts 2023-07-31 17:13:18 +10:00
dependabot[bot]
5821f3fad5
Bump mongoose from 7.4.0 to 7.4.1 (#11)
Bumps [mongoose](https://github.com/Automattic/mongoose) from 7.4.0 to 7.4.1.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Automattic/mongoose/compare/7.4.0...7.4.1)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-31 14:52:42 +10:00
github-actions[bot]
9f7904f8ce
Combined Dependabot PR (#15)
* Bump @discord-player/extractor from 4.4.0 to 4.4.1

Bumps [@discord-player/extractor](https://github.com/Androz2091/discord-player) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/Androz2091/discord-player/releases)
- [Commits](https://github.com/Androz2091/discord-player/compare/@discord-player/extractor@4.4.0...@discord-player/extractor@4.4.1)

---
updated-dependencies:
- dependency-name: "@discord-player/extractor"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump @types/node from 20.4.4 to 20.4.5

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.4.4 to 20.4.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump systeminformation from 5.18.7 to 5.18.10

Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation) from 5.18.7 to 5.18.10.
- [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sebhildebrandt/systeminformation/compare/v5.18.7...v5.18.10)

---
updated-dependencies:
- dependency-name: systeminformation
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-31 14:50:58 +10:00
3 changed files with 120 additions and 21 deletions

131
package-lock.json generated
View File

@ -18,7 +18,7 @@
"linux" "linux"
], ],
"dependencies": { "dependencies": {
"@discord-player/extractor": "4.4.0", "@discord-player/extractor": "4.4.1",
"@discordjs/opus": "0.9.0", "@discordjs/opus": "0.9.0",
"@ffmpeg-installer/ffmpeg": "1.1.0", "@ffmpeg-installer/ffmpeg": "1.1.0",
"@octokit/auth-token": "4.0.0", "@octokit/auth-token": "4.0.0",
@ -28,16 +28,16 @@
"discord-player": "6.6.1", "discord-player": "6.6.1",
"discord.js": "14.11.0", "discord.js": "14.11.0",
"moment": "2.29.4", "moment": "2.29.4",
"mongoose": "7.4.0", "mongoose": "7.4.1",
"ms": "2.1.3", "ms": "2.1.3",
"systeminformation": "5.18.7", "systeminformation": "5.18.10",
"typescript": "5.1.6", "typescript": "5.1.6",
"xml-js": "1.6.11", "xml-js": "1.6.11",
"ytdl-core": "4.11.5" "ytdl-core": "4.11.5"
}, },
"devDependencies": { "devDependencies": {
"@types/ms": "0.7.31", "@types/ms": "0.7.31",
"@types/node": "20.4.4" "@types/node": "20.4.5"
}, },
"engines": { "engines": {
"node": ">=18.12.0" "node": ">=18.12.0"
@ -49,12 +49,13 @@
"integrity": "sha512-U86em1cMtopXVuKFDxP8J2DcNOqwCAsYQ2tkzPoJvchsrezcI2cgvN3jtGt9FFECP3pLvSz96ZB9FOHZKG5Mqg==" "integrity": "sha512-U86em1cMtopXVuKFDxP8J2DcNOqwCAsYQ2tkzPoJvchsrezcI2cgvN3jtGt9FFECP3pLvSz96ZB9FOHZKG5Mqg=="
}, },
"node_modules/@discord-player/extractor": { "node_modules/@discord-player/extractor": {
"version": "4.4.0", "version": "4.4.1",
"resolved": "https://registry.npmjs.org/@discord-player/extractor/-/extractor-4.4.0.tgz", "resolved": "https://registry.npmjs.org/@discord-player/extractor/-/extractor-4.4.1.tgz",
"integrity": "sha512-TpHZk6ZFS5ot504iVAfnaJrGe2xv9yMauI+2zNLCmAYPeFe6YUbliXrSRoOmKoZi5n1ahkP2VurbmBhqKqEVkw==", "integrity": "sha512-wOsSjU7nU682ZNniGC8AwhDZMMun7Bmkn3lrefa6lO5bUp6dACKdj9aLWlILDIMOohhhcBEPLXv5AtdYjumwHw==",
"dependencies": { "dependencies": {
"file-type": "^16.5.4", "file-type": "^16.5.4",
"genius-lyrics": "^4.4.3", "genius-lyrics": "^4.4.3",
"isomorphic-unfetch": "^4.0.2",
"node-html-parser": "^6.1.4", "node-html-parser": "^6.1.4",
"reverbnation-scraper": "^2.0.0", "reverbnation-scraper": "^2.0.0",
"soundcloud.ts": "^0.5.0", "soundcloud.ts": "^0.5.0",
@ -587,9 +588,9 @@
"dev": true "dev": true
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "20.4.4", "version": "20.4.5",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.4.4.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.4.5.tgz",
"integrity": "sha512-CukZhumInROvLq3+b5gLev+vgpsIqC2D0deQr/yS1WnxvmYLlJXZpaQrQiseMY+6xusl79E04UjWoqyr+t1/Ew==" "integrity": "sha512-rt40Nk13II9JwQBdeYqmbn2Q6IVTA5uPhvSO+JVqdXw/6/4glI6oR9ezty/A9Hg5u7JH4OmYmuQ+XvjKm0Datg=="
}, },
"node_modules/@types/webidl-conversions": { "node_modules/@types/webidl-conversions": {
"version": "7.0.0", "version": "7.0.0",
@ -834,6 +835,14 @@
"url": "https://github.com/sponsors/fb55" "url": "https://github.com/sponsors/fb55"
} }
}, },
"node_modules/data-uri-to-buffer": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz",
"integrity": "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==",
"engines": {
"node": ">= 12"
}
},
"node_modules/debug": { "node_modules/debug": {
"version": "4.3.4", "version": "4.3.4",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
@ -1013,6 +1022,28 @@
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
}, },
"node_modules/fetch-blob": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.2.0.tgz",
"integrity": "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/jimmywarting"
},
{
"type": "paypal",
"url": "https://paypal.me/jimmywarting"
}
],
"dependencies": {
"node-domexception": "^1.0.0",
"web-streams-polyfill": "^3.0.3"
},
"engines": {
"node": "^12.20 || >= 14.13"
}
},
"node_modules/file-type": { "node_modules/file-type": {
"version": "18.4.0", "version": "18.4.0",
"resolved": "https://registry.npmjs.org/file-type/-/file-type-18.4.0.tgz", "resolved": "https://registry.npmjs.org/file-type/-/file-type-18.4.0.tgz",
@ -1061,6 +1092,17 @@
"node": ">= 6" "node": ">= 6"
} }
}, },
"node_modules/formdata-polyfill": {
"version": "4.0.10",
"resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz",
"integrity": "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==",
"dependencies": {
"fetch-blob": "^3.1.2"
},
"engines": {
"node": ">=12.20.0"
}
},
"node_modules/fs-minipass": { "node_modules/fs-minipass": {
"version": "2.1.0", "version": "2.1.0",
"resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz",
@ -1237,6 +1279,32 @@
"node": ">=0.10.0" "node": ">=0.10.0"
} }
}, },
"node_modules/isomorphic-unfetch": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/isomorphic-unfetch/-/isomorphic-unfetch-4.0.2.tgz",
"integrity": "sha512-1Yd+CF/7al18/N2BDbsLBcp6RO3tucSW+jcLq24dqdX5MNbCNTw1z4BsGsp4zNmjr/Izm2cs/cEqZPp4kvWSCA==",
"dependencies": {
"node-fetch": "^3.2.0",
"unfetch": "^5.0.0"
}
},
"node_modules/isomorphic-unfetch/node_modules/node-fetch": {
"version": "3.3.2",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz",
"integrity": "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==",
"dependencies": {
"data-uri-to-buffer": "^4.0.0",
"fetch-blob": "^3.1.4",
"formdata-polyfill": "^4.0.10"
},
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/node-fetch"
}
},
"node_modules/kareem": { "node_modules/kareem": {
"version": "2.5.1", "version": "2.5.1",
"resolved": "https://registry.npmjs.org/kareem/-/kareem-2.5.1.tgz", "resolved": "https://registry.npmjs.org/kareem/-/kareem-2.5.1.tgz",
@ -1468,9 +1536,9 @@
} }
}, },
"node_modules/mongoose": { "node_modules/mongoose": {
"version": "7.4.0", "version": "7.4.1",
"resolved": "https://registry.npmjs.org/mongoose/-/mongoose-7.4.0.tgz", "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-7.4.1.tgz",
"integrity": "sha512-oHE1eqodfKzugXRlQxpo+msIea7jPcRoayDuEMr50+bYwM/juA5f+1stjkWlXcg6vo1PdJFVA6DGaKOPLuG5mA==", "integrity": "sha512-o3E5KHHiHdaiwCJG3+9r70sncRKki71Ktf/TfXdW6myu+53rtZ56uLl5ylkQiCf60V3COJuOeekcxXVsjQ7cBA==",
"dependencies": { "dependencies": {
"bson": "^5.4.0", "bson": "^5.4.0",
"kareem": "2.5.1", "kareem": "2.5.1",
@ -1522,6 +1590,24 @@
"resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-5.1.0.tgz", "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-5.1.0.tgz",
"integrity": "sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA==" "integrity": "sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA=="
}, },
"node_modules/node-domexception": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz",
"integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/jimmywarting"
},
{
"type": "github",
"url": "https://paypal.me/jimmywarting"
}
],
"engines": {
"node": ">=10.5.0"
}
},
"node_modules/node-fetch": { "node_modules/node-fetch": {
"version": "2.6.9", "version": "2.6.9",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.9.tgz", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.9.tgz",
@ -1962,9 +2048,9 @@
} }
}, },
"node_modules/systeminformation": { "node_modules/systeminformation": {
"version": "5.18.7", "version": "5.18.10",
"resolved": "https://registry.npmjs.org/systeminformation/-/systeminformation-5.18.7.tgz", "resolved": "https://registry.npmjs.org/systeminformation/-/systeminformation-5.18.10.tgz",
"integrity": "sha512-ROxysxhjjnhWxQDkDPxCCQdeOt9IUKIGgfM0A++kqqNC+V/hAHQRshyG+5421R//DsOfXFc11pUFGpzA8YqRNQ==", "integrity": "sha512-p7Su6y3MhKODBVOeQuJQG8jk3HvaU9dtSgVHT/pkRGj2g97n4fmYhYCJ2+djK0Ed5Zq4nSQ7zzEYFVlW71RbHg==",
"os": [ "os": [
"darwin", "darwin",
"linux", "linux",
@ -2062,6 +2148,11 @@
"node": ">=14.0" "node": ">=14.0"
} }
}, },
"node_modules/unfetch": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/unfetch/-/unfetch-5.0.0.tgz",
"integrity": "sha512-3xM2c89siXg0nHvlmYsQ2zkLASvVMBisZm5lF3gFDqfF2xonNStDJyMpvaOBe0a1Edxmqrf2E0HBdmy9QyZaeg=="
},
"node_modules/universal-user-agent": { "node_modules/universal-user-agent": {
"version": "6.0.0", "version": "6.0.0",
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz",
@ -2072,6 +2163,14 @@
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
}, },
"node_modules/web-streams-polyfill": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz",
"integrity": "sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==",
"engines": {
"node": ">= 8"
}
},
"node_modules/webidl-conversions": { "node_modules/webidl-conversions": {
"version": "7.0.0", "version": "7.0.0",
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz",

View File

@ -26,7 +26,7 @@
"dependencies": { "dependencies": {
"axios": "1.4.0", "axios": "1.4.0",
"canvas": "2.11.2", "canvas": "2.11.2",
"@discord-player/extractor": "4.4.0", "@discord-player/extractor": "4.4.1",
"@ffmpeg-installer/ffmpeg": "1.1.0", "@ffmpeg-installer/ffmpeg": "1.1.0",
"@discordjs/opus": "0.9.0", "@discordjs/opus": "0.9.0",
"discord-player": "6.6.1", "discord-player": "6.6.1",
@ -34,8 +34,8 @@
"ytdl-core": "4.11.5", "ytdl-core": "4.11.5",
"moment": "2.29.4", "moment": "2.29.4",
"ms": "2.1.3", "ms": "2.1.3",
"mongoose": "7.4.0", "mongoose": "7.4.1",
"systeminformation": "5.18.7", "systeminformation": "5.18.10",
"@octokit/rest": "20.0.1", "@octokit/rest": "20.0.1",
"@octokit/auth-token": "4.0.0", "@octokit/auth-token": "4.0.0",
"typescript": "5.1.6", "typescript": "5.1.6",
@ -43,6 +43,6 @@
}, },
"devDependencies": { "devDependencies": {
"@types/ms": "0.7.31", "@types/ms": "0.7.31",
"@types/node": "20.4.4" "@types/node": "20.4.5"
} }
} }

View File

@ -65,7 +65,7 @@ export default {
const PersonnyMcPerson = `**${message.member.displayName}**`; const PersonnyMcPerson = `**${message.member.displayName}**`;
const GeneralChatID = '468835415093411863'; const GeneralChatID = '468835415093411863';
const incomingArrays = { const incomingArrays = {
morning: ['good morning all', 'good morning everyone', 'morning all', 'morning everyone', 'morning lads', 'morning guys', 'good morning everybody'], morning: ['good morning all', 'good morning everyone', 'good morning lads', 'morning all', 'morning everyone', 'morning lads', 'morning guys', 'good morning everybody'],
afternoon: ['good afternoon', 'afternoon all', 'afternoon everyone'], afternoon: ['good afternoon', 'afternoon all', 'afternoon everyone'],
evening: ['good evening', 'evening all', 'evening everyone'], evening: ['good evening', 'evening all', 'evening everyone'],
night: ['night all', 'night everyone', 'night guys', 'goodnight', 'good night'], night: ['night all', 'night everyone', 'night guys', 'goodnight', 'good night'],