mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 20:30:58 -05:00
Compare commits
2 Commits
514b7ee2bf
...
ae32205c9a
Author | SHA1 | Date | |
---|---|---|---|
|
ae32205c9a | ||
|
4594c2136a |
30
.pnp.cjs
generated
30
.pnp.cjs
generated
@ -30,9 +30,9 @@ const RAW_RUNTIME_STATE =
|
||||
["@octokit/rest", "npm:20.0.2"],\
|
||||
["@toast/tokenservice-client", "npm:1.0.10::__archiveUrl=https%3A%2F%2Fgit.toast-server.net%2Fapi%2Fpackages%2Ftoast%2Fnpm%2F%2540toast%252Ftokenservice-client%2F-%2F1.0.10%2Ftokenservice-client-1.0.10.tgz"],\
|
||||
["@types/ms", "npm:0.7.34"],\
|
||||
["@types/node", "npm:20.11.5"],\
|
||||
["@types/node", "npm:20.11.6"],\
|
||||
["@types/node-cron", "npm:3.0.11"],\
|
||||
["@types/pg", "npm:8.10.9"],\
|
||||
["@types/pg", "npm:8.11.0"],\
|
||||
["@types/sequelize", "npm:4.28.20"],\
|
||||
["ansi-colors", "npm:4.1.3"],\
|
||||
["canvas", "npm:2.11.2"],\
|
||||
@ -603,7 +603,7 @@ const RAW_RUNTIME_STATE =
|
||||
"packageLocation": "./.yarn/cache/@types-continuation-local-storage-npm-3.2.7-763e4dc12b-1f272b53bc.zip/node_modules/@types/continuation-local-storage/",\
|
||||
"packageDependencies": [\
|
||||
["@types/continuation-local-storage", "npm:3.2.7"],\
|
||||
["@types/node", "npm:20.11.5"]\
|
||||
["@types/node", "npm:20.11.6"]\
|
||||
],\
|
||||
"linkType": "HARD"\
|
||||
}]\
|
||||
@ -637,10 +637,10 @@ const RAW_RUNTIME_STATE =
|
||||
}]\
|
||||
]],\
|
||||
["@types/node", [\
|
||||
["npm:20.11.5", {\
|
||||
"packageLocation": "./.yarn/cache/@types-node-npm-20.11.5-b807d46a1a-9f31c47104.zip/node_modules/@types/node/",\
|
||||
["npm:20.11.6", {\
|
||||
"packageLocation": "./.yarn/cache/@types-node-npm-20.11.6-e5e1974d32-375dfc75f0.zip/node_modules/@types/node/",\
|
||||
"packageDependencies": [\
|
||||
["@types/node", "npm:20.11.5"],\
|
||||
["@types/node", "npm:20.11.6"],\
|
||||
["undici-types", "npm:5.26.5"]\
|
||||
],\
|
||||
"linkType": "HARD"\
|
||||
@ -656,11 +656,11 @@ const RAW_RUNTIME_STATE =
|
||||
}]\
|
||||
]],\
|
||||
["@types/pg", [\
|
||||
["npm:8.10.9", {\
|
||||
"packageLocation": "./.yarn/cache/@types-pg-npm-8.10.9-ee8620c8e7-787be5431a.zip/node_modules/@types/pg/",\
|
||||
["npm:8.11.0", {\
|
||||
"packageLocation": "./.yarn/cache/@types-pg-npm-8.11.0-bf104da0ba-91a7ccc5dc.zip/node_modules/@types/pg/",\
|
||||
"packageDependencies": [\
|
||||
["@types/pg", "npm:8.10.9"],\
|
||||
["@types/node", "npm:20.11.5"],\
|
||||
["@types/pg", "npm:8.11.0"],\
|
||||
["@types/node", "npm:20.11.6"],\
|
||||
["pg-protocol", "npm:1.6.0"],\
|
||||
["pg-types", "npm:4.0.1"]\
|
||||
],\
|
||||
@ -694,7 +694,7 @@ const RAW_RUNTIME_STATE =
|
||||
"packageLocation": "./.yarn/cache/@types-ws-npm-8.5.9-91d1b2ab07-7cf66383b8.zip/node_modules/@types/ws/",\
|
||||
"packageDependencies": [\
|
||||
["@types/ws", "npm:8.5.9"],\
|
||||
["@types/node", "npm:20.11.5"]\
|
||||
["@types/node", "npm:20.11.6"]\
|
||||
],\
|
||||
"linkType": "HARD"\
|
||||
}]\
|
||||
@ -995,9 +995,9 @@ const RAW_RUNTIME_STATE =
|
||||
["@octokit/rest", "npm:20.0.2"],\
|
||||
["@toast/tokenservice-client", "npm:1.0.10::__archiveUrl=https%3A%2F%2Fgit.toast-server.net%2Fapi%2Fpackages%2Ftoast%2Fnpm%2F%2540toast%252Ftokenservice-client%2F-%2F1.0.10%2Ftokenservice-client-1.0.10.tgz"],\
|
||||
["@types/ms", "npm:0.7.34"],\
|
||||
["@types/node", "npm:20.11.5"],\
|
||||
["@types/node", "npm:20.11.6"],\
|
||||
["@types/node-cron", "npm:3.0.11"],\
|
||||
["@types/pg", "npm:8.10.9"],\
|
||||
["@types/pg", "npm:8.11.0"],\
|
||||
["@types/sequelize", "npm:4.28.20"],\
|
||||
["ansi-colors", "npm:4.1.3"],\
|
||||
["canvas", "npm:2.11.2"],\
|
||||
@ -2270,7 +2270,7 @@ const RAW_RUNTIME_STATE =
|
||||
["@types/mariadb", null],\
|
||||
["@types/mysql2", null],\
|
||||
["@types/oracledb", null],\
|
||||
["@types/pg", "npm:8.10.9"],\
|
||||
["@types/pg", "npm:8.11.0"],\
|
||||
["@types/pg-hstore", null],\
|
||||
["@types/snowflake-sdk", null],\
|
||||
["@types/sqlite3", null],\
|
||||
@ -2725,7 +2725,7 @@ const RAW_RUNTIME_STATE =
|
||||
"packageLocation": "./.yarn/cache/wkx-npm-0.5.0-fca5152cd8-b8975e33f9.zip/node_modules/wkx/",\
|
||||
"packageDependencies": [\
|
||||
["wkx", "npm:0.5.0"],\
|
||||
["@types/node", "npm:20.11.5"]\
|
||||
["@types/node", "npm:20.11.6"]\
|
||||
],\
|
||||
"linkType": "HARD"\
|
||||
}]\
|
||||
|
@ -52,9 +52,9 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/ms": "0.7.34",
|
||||
"@types/node": "20.11.5",
|
||||
"@types/node": "20.11.6",
|
||||
"@types/node-cron": "3.0.11",
|
||||
"@types/pg": "8.10.9",
|
||||
"@types/pg": "8.11.0",
|
||||
"@types/sequelize": "4.28.20",
|
||||
"typescript": "5.3.3"
|
||||
}
|
||||
|
@ -67,7 +67,6 @@ export default class MessageCreate {
|
||||
password: ['whats the password', 'what\'s the password', 'password pls'],
|
||||
cantRead: ['i cant read', 'i can\'t read', 'cant read', 'can\'t read'],
|
||||
theyBrokeIt: ['break', 'broke', 'broken'],
|
||||
deadChat: ['dead chat', 'chat is dead', 'dead server', 'inactive chat', 'inactive channel'],
|
||||
mpsrv: ['is anyone online', 'is the server up', 'is anyone going on']
|
||||
}
|
||||
const outgoingArrays = {
|
||||
@ -84,8 +83,7 @@ export default class MessageCreate {
|
||||
|
||||
let picStorage = {
|
||||
cantRead: 'https://tenor.com/view/aristocats-george-pen-cap-meticulous-gif-5330931',
|
||||
amAlive: 'https://tenor.com/view/i-still-feel-alive-living-existing-active-singing-gif-14630579',
|
||||
deadChat: 'https://cdn.discordapp.com/attachments/925589318276382720/1011333656167579849/F57G5ZS.png',
|
||||
amAlive: 'https://tenor.com/view/i-still-feel-alive-living-existing-active-singing-gif-14630579'
|
||||
};
|
||||
let ModsGoGetThisPerson = [// I find this variable amusing but also can't think of anything better so not changing it.
|
||||
{
|
||||
@ -118,7 +116,6 @@ export default class MessageCreate {
|
||||
if (incomingArrays.password.some(e=>message.content.toLowerCase().includes(e))) message.reply('Password and other details can be found in <#543494084363288637>');
|
||||
if (incomingArrays.cantRead.some(e=>message.content.toLowerCase().includes(e))) message.reply(picStorage.cantRead);
|
||||
if (message.content.toLowerCase().includes('is daggerbot working')) message.reply(picStorage.amAlive);
|
||||
if (incomingArrays.deadChat.some(e=>message.content.toLowerCase().includes(e))) message.reply(picStorage.deadChat);
|
||||
if (message.channelId === '468835769092669461' && incomingArrays.mpsrv.some(e=>message.content.toLowerCase().includes(e))) message.reply('You can take a look at the embeds in <#543494084363288637> to see if anyone is on the server.');
|
||||
|
||||
for (const thisPerson of ModsGoGetThisPerson) {
|
||||
|
20
yarn.lock
20
yarn.lock
@ -441,23 +441,23 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@types/node@npm:*, @types/node@npm:20.11.5":
|
||||
version: 20.11.5
|
||||
resolution: "@types/node@npm:20.11.5"
|
||||
"@types/node@npm:*, @types/node@npm:20.11.6":
|
||||
version: 20.11.6
|
||||
resolution: "@types/node@npm:20.11.6"
|
||||
dependencies:
|
||||
undici-types: "npm:~5.26.4"
|
||||
checksum: 9f31c471047d7b3e240ce7b77ff29b0d15e83be7e3feafb3d0b0d0931122b438b1eefa302a5a2e1e9849914ff3fd76aafbd8ccb372efb1331ba048da63bce6f8
|
||||
checksum: 375dfc75f0aa8b7fb99382d84c317e5dab2969dcc3f54d8490b119151060923eae6483839552347bc78262bbcefb2951ee131e15372f4e80b755be2dda9afe80
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@types/pg@npm:8.10.9":
|
||||
version: 8.10.9
|
||||
resolution: "@types/pg@npm:8.10.9"
|
||||
"@types/pg@npm:8.11.0":
|
||||
version: 8.11.0
|
||||
resolution: "@types/pg@npm:8.11.0"
|
||||
dependencies:
|
||||
"@types/node": "npm:*"
|
||||
pg-protocol: "npm:*"
|
||||
pg-types: "npm:^4.0.1"
|
||||
checksum: 787be5431ae70abe9eadde3bcfec7d1fd227ab401b20f1be6fadc171556d3083802855eeacd6a889237994c8cd01b23f56f1d31ecb3e9a79f8bcfb16b3ee4f0f
|
||||
checksum: 91a7ccc5dc8e162d9d181f48f699eb4628632e75bd9db1c0ca774ec9b055b177875fb4b426279961061912f25fb3948c48c96e63ac9e85efcf7ce6f2567b6485
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -748,9 +748,9 @@ __metadata:
|
||||
"@octokit/rest": "npm:20.0.2"
|
||||
"@toast/tokenservice-client": "npm:1.0.10"
|
||||
"@types/ms": "npm:0.7.34"
|
||||
"@types/node": "npm:20.11.5"
|
||||
"@types/node": "npm:20.11.6"
|
||||
"@types/node-cron": "npm:3.0.11"
|
||||
"@types/pg": "npm:8.10.9"
|
||||
"@types/pg": "npm:8.11.0"
|
||||
"@types/sequelize": "npm:4.28.20"
|
||||
ansi-colors: "npm:4.1.3"
|
||||
canvas: "npm:2.11.2"
|
||||
|
Loading…
Reference in New Issue
Block a user