Discord bot to open dong files

change from bun to node js

+7
.gitignore
···
# Finder (MacOS) folder config
.DS_Store
+
lib/index.js
+
lib/sync.js
+
lib/commands/dong/create.js
+
lib/commands/dong/open.js
+
lib/commands/util/ping.js
+
lib/lib/dong-io.js
+
lib/lib/download.js
+3
babel.config.json
···
+
{
+
"plugins": ["@babel/plugin-transform-typescript"]
+
}
+13 -6
package.json
···
"type": "module",
"private": true,
"scripts": {
-
"dev": "bun --watch src/index.ts",
-
"commands:sync": "bun src/sync.js"
+
"dev": "node --watch src/index.ts",
+
"commands:sync": "node src/sync.js",
+
"build": "babel src -d lib --extensions .ts,.js",
+
"preview": "node lib"
},
"devDependencies": {
-
"@types/bun": "latest"
+
"@babel/cli": "^7.26.4",
+
"@babel/core": "^7.26.9",
+
"@babel/plugin-transform-typescript": "^7.26.8",
+
"@types/node": "latest"
},
"peerDependencies": {
"typescript": "^5"
},
"dependencies": {
-
"@types/mime": "^4.0.0",
"discord.js": "^14.18.0",
+
"dotenv": "^16.4.7",
+
"glob": "^11.0.1",
"mime": "^4.0.6"
-
}
-
}
+
},
+
"packageManager": "pnpm@10.5.2+sha512.da9dc28cd3ff40d0592188235ab25d3202add8a207afbedc682220e4a0029ffbff4562102b9e6e46b4e3f9e8bd53e6d05de48544b0c57d4b0179e22c76d1199b"
+
}
+1207
pnpm-lock.yaml
···
+
lockfileVersion: '9.0'
+
+
settings:
+
autoInstallPeers: true
+
excludeLinksFromLockfile: false
+
+
importers:
+
+
.:
+
dependencies:
+
discord.js:
+
specifier: ^14.18.0
+
version: 14.18.0
+
dotenv:
+
specifier: ^16.4.7
+
version: 16.4.7
+
glob:
+
specifier: ^11.0.1
+
version: 11.0.1
+
mime:
+
specifier: ^4.0.6
+
version: 4.0.6
+
devDependencies:
+
'@babel/cli':
+
specifier: ^7.26.4
+
version: 7.26.4(@babel/core@7.26.9)
+
'@babel/core':
+
specifier: ^7.26.9
+
version: 7.26.9
+
'@babel/plugin-transform-typescript':
+
specifier: ^7.26.8
+
version: 7.26.8(@babel/core@7.26.9)
+
'@types/node':
+
specifier: latest
+
version: 22.13.9
+
+
packages:
+
+
'@ampproject/remapping@2.3.0':
+
resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==}
+
engines: {node: '>=6.0.0'}
+
+
'@babel/cli@7.26.4':
+
resolution: {integrity: sha512-+mORf3ezU3p3qr+82WvJSnQNE1GAYeoCfEv4fik6B5/2cvKZ75AX8oawWQdXtM9MmndooQj15Jr9kelRFWsuRw==}
+
engines: {node: '>=6.9.0'}
+
hasBin: true
+
peerDependencies:
+
'@babel/core': ^7.0.0-0
+
+
'@babel/code-frame@7.26.2':
+
resolution: {integrity: sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==}
+
engines: {node: '>=6.9.0'}
+
+
'@babel/compat-data@7.26.8':
+
resolution: {integrity: sha512-oH5UPLMWR3L2wEFLnFJ1TZXqHufiTKAiLfqw5zkhS4dKXLJ10yVztfil/twG8EDTA4F/tvVNw9nOl4ZMslB8rQ==}
+
engines: {node: '>=6.9.0'}
+
+
'@babel/core@7.26.9':
+
resolution: {integrity: sha512-lWBYIrF7qK5+GjY5Uy+/hEgp8OJWOD/rpy74GplYRhEauvbHDeFB8t5hPOZxCZ0Oxf4Cc36tK51/l3ymJysrKw==}
+
engines: {node: '>=6.9.0'}
+
+
'@babel/generator@7.26.9':
+
resolution: {integrity: sha512-kEWdzjOAUMW4hAyrzJ0ZaTOu9OmpyDIQicIh0zg0EEcEkYXZb2TjtBhnHi2ViX7PKwZqF4xwqfAm299/QMP3lg==}
+
engines: {node: '>=6.9.0'}
+
+
'@babel/helper-annotate-as-pure@7.25.9':
+
resolution: {integrity: sha512-gv7320KBUFJz1RnylIg5WWYPRXKZ884AGkYpgpWW02TH66Dl+HaC1t1CKd0z3R4b6hdYEcmrNZHUmfCP+1u3/g==}
+
engines: {node: '>=6.9.0'}
+
+
'@babel/helper-compilation-targets@7.26.5':
+
resolution: {integrity: sha512-IXuyn5EkouFJscIDuFF5EsiSolseme1s0CZB+QxVugqJLYmKdxI1VfIBOst0SUu4rnk2Z7kqTwmoO1lp3HIfnA==}
+
engines: {node: '>=6.9.0'}
+
+
'@babel/helper-create-class-features-plugin@7.26.9':
+
resolution: {integrity: sha512-ubbUqCofvxPRurw5L8WTsCLSkQiVpov4Qx0WMA+jUN+nXBK8ADPlJO1grkFw5CWKC5+sZSOfuGMdX1aI1iT9Sg==}
+
engines: {node: '>=6.9.0'}
+
peerDependencies:
+
'@babel/core': ^7.0.0
+
+
'@babel/helper-member-expression-to-functions@7.25.9':
+
resolution: {integrity: sha512-wbfdZ9w5vk0C0oyHqAJbc62+vet5prjj01jjJ8sKn3j9h3MQQlflEdXYvuqRWjHnM12coDEqiC1IRCi0U/EKwQ==}
+
engines: {node: '>=6.9.0'}
+
+
'@babel/helper-module-imports@7.25.9':
+
resolution: {integrity: sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==}
+
engines: {node: '>=6.9.0'}
+
+
'@babel/helper-module-transforms@7.26.0':
+
resolution: {integrity: sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==}
+
engines: {node: '>=6.9.0'}
+
peerDependencies:
+
'@babel/core': ^7.0.0
+
+
'@babel/helper-optimise-call-expression@7.25.9':
+
resolution: {integrity: sha512-FIpuNaz5ow8VyrYcnXQTDRGvV6tTjkNtCK/RYNDXGSLlUD6cBuQTSw43CShGxjvfBTfcUA/r6UhUCbtYqkhcuQ==}
+
engines: {node: '>=6.9.0'}
+
+
'@babel/helper-plugin-utils@7.26.5':
+
resolution: {integrity: sha512-RS+jZcRdZdRFzMyr+wcsaqOmld1/EqTghfaBGQQd/WnRdzdlvSZ//kF7U8VQTxf1ynZ4cjUcYgjVGx13ewNPMg==}
+
engines: {node: '>=6.9.0'}
+
+
'@babel/helper-replace-supers@7.26.5':
+
resolution: {integrity: sha512-bJ6iIVdYX1YooY2X7w1q6VITt+LnUILtNk7zT78ykuwStx8BauCzxvFqFaHjOpW1bVnSUM1PN1f0p5P21wHxvg==}
+
engines: {node: '>=6.9.0'}
+
peerDependencies:
+
'@babel/core': ^7.0.0
+
+
'@babel/helper-skip-transparent-expression-wrappers@7.25.9':
+
resolution: {integrity: sha512-K4Du3BFa3gvyhzgPcntrkDgZzQaq6uozzcpGbOO1OEJaI+EJdqWIMTLgFgQf6lrfiDFo5FU+BxKepI9RmZqahA==}
+
engines: {node: '>=6.9.0'}
+
+
'@babel/helper-string-parser@7.25.9':
+
resolution: {integrity: sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==}
+
engines: {node: '>=6.9.0'}
+
+
'@babel/helper-validator-identifier@7.25.9':
+
resolution: {integrity: sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==}
+
engines: {node: '>=6.9.0'}
+
+
'@babel/helper-validator-option@7.25.9':
+
resolution: {integrity: sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==}
+
engines: {node: '>=6.9.0'}
+
+
'@babel/helpers@7.26.9':
+
resolution: {integrity: sha512-Mz/4+y8udxBKdmzt/UjPACs4G3j5SshJJEFFKxlCGPydG4JAHXxjWjAwjd09tf6oINvl1VfMJo+nB7H2YKQ0dA==}
+
engines: {node: '>=6.9.0'}
+
+
'@babel/parser@7.26.9':
+
resolution: {integrity: sha512-81NWa1njQblgZbQHxWHpxxCzNsa3ZwvFqpUg7P+NNUU6f3UU2jBEg4OlF/J6rl8+PQGh1q6/zWScd001YwcA5A==}
+
engines: {node: '>=6.0.0'}
+
hasBin: true
+
+
'@babel/plugin-syntax-typescript@7.25.9':
+
resolution: {integrity: sha512-hjMgRy5hb8uJJjUcdWunWVcoi9bGpJp8p5Ol1229PoN6aytsLwNMgmdftO23wnCLMfVmTwZDWMPNq/D1SY60JQ==}
+
engines: {node: '>=6.9.0'}
+
peerDependencies:
+
'@babel/core': ^7.0.0-0
+
+
'@babel/plugin-transform-typescript@7.26.8':
+
resolution: {integrity: sha512-bME5J9AC8ChwA7aEPJ6zym3w7aObZULHhbNLU0bKUhKsAkylkzUdq+0kdymh9rzi8nlNFl2bmldFBCKNJBUpuw==}
+
engines: {node: '>=6.9.0'}
+
peerDependencies:
+
'@babel/core': ^7.0.0-0
+
+
'@babel/template@7.26.9':
+
resolution: {integrity: sha512-qyRplbeIpNZhmzOysF/wFMuP9sctmh2cFzRAZOn1YapxBsE1i9bJIY586R/WBLfLcmcBlM8ROBiQURnnNy+zfA==}
+
engines: {node: '>=6.9.0'}
+
+
'@babel/traverse@7.26.9':
+
resolution: {integrity: sha512-ZYW7L+pL8ahU5fXmNbPF+iZFHCv5scFak7MZ9bwaRPLUhHh7QQEMjZUg0HevihoqCM5iSYHN61EyCoZvqC+bxg==}
+
engines: {node: '>=6.9.0'}
+
+
'@babel/types@7.26.9':
+
resolution: {integrity: sha512-Y3IR1cRnOxOCDvMmNiym7XpXQ93iGDDPHx+Zj+NM+rg0fBaShfQLkg+hKPaZCEvg5N/LeCo4+Rj/i3FuJsIQaw==}
+
engines: {node: '>=6.9.0'}
+
+
'@discordjs/builders@1.10.1':
+
resolution: {integrity: sha512-OWo1fY4ztL1/M/DUyRPShB4d/EzVfuUvPTRRHRIt/YxBrUYSz0a+JicD5F5zHFoNs2oTuWavxCOVFV1UljHTng==}
+
engines: {node: '>=16.11.0'}
+
+
'@discordjs/collection@1.5.3':
+
resolution: {integrity: sha512-SVb428OMd3WO1paV3rm6tSjM4wC+Kecaa1EUGX7vc6/fddvw/6lg90z4QtCqm21zvVe92vMMDt9+DkIvjXImQQ==}
+
engines: {node: '>=16.11.0'}
+
+
'@discordjs/collection@2.1.1':
+
resolution: {integrity: sha512-LiSusze9Tc7qF03sLCujF5iZp7K+vRNEDBZ86FT9aQAv3vxMLihUvKvpsCWiQ2DJq1tVckopKm1rxomgNUc9hg==}
+
engines: {node: '>=18'}
+
+
'@discordjs/formatters@0.6.0':
+
resolution: {integrity: sha512-YIruKw4UILt/ivO4uISmrGq2GdMY6EkoTtD0oS0GvkJFRZbTSdPhzYiUILbJ/QslsvC9H9nTgGgnarnIl4jMfw==}
+
engines: {node: '>=16.11.0'}
+
+
'@discordjs/rest@2.4.3':
+
resolution: {integrity: sha512-+SO4RKvWsM+y8uFHgYQrcTl/3+cY02uQOH7/7bKbVZsTfrfpoE62o5p+mmV+s7FVhTX82/kQUGGbu4YlV60RtA==}
+
engines: {node: '>=18'}
+
+
'@discordjs/util@1.1.1':
+
resolution: {integrity: sha512-eddz6UnOBEB1oITPinyrB2Pttej49M9FZQY8NxgEvc3tq6ZICZ19m70RsmzRdDHk80O9NoYN/25AqJl8vPVf/g==}
+
engines: {node: '>=18'}
+
+
'@discordjs/ws@1.2.1':
+
resolution: {integrity: sha512-PBvenhZG56a6tMWF/f4P6f4GxZKJTBG95n7aiGSPTnodmz4N5g60t79rSIAq7ywMbv8A4jFtexMruH+oe51aQQ==}
+
engines: {node: '>=16.11.0'}
+
+
'@isaacs/cliui@8.0.2':
+
resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==}
+
engines: {node: '>=12'}
+
+
'@jridgewell/gen-mapping@0.3.8':
+
resolution: {integrity: sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==}
+
engines: {node: '>=6.0.0'}
+
+
'@jridgewell/resolve-uri@3.1.2':
+
resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==}
+
engines: {node: '>=6.0.0'}
+
+
'@jridgewell/set-array@1.2.1':
+
resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==}
+
engines: {node: '>=6.0.0'}
+
+
'@jridgewell/sourcemap-codec@1.5.0':
+
resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==}
+
+
'@jridgewell/trace-mapping@0.3.25':
+
resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==}
+
+
'@nicolo-ribaudo/chokidar-2@2.1.8-no-fsevents.3':
+
resolution: {integrity: sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==}
+
+
'@sapphire/async-queue@1.5.5':
+
resolution: {integrity: sha512-cvGzxbba6sav2zZkH8GPf2oGk9yYoD5qrNWdu9fRehifgnFZJMV+nuy2nON2roRO4yQQ+v7MK/Pktl/HgfsUXg==}
+
engines: {node: '>=v14.0.0', npm: '>=7.0.0'}
+
+
'@sapphire/shapeshift@4.0.0':
+
resolution: {integrity: sha512-d9dUmWVA7MMiKobL3VpLF8P2aeanRTu6ypG2OIaEv/ZHH/SUQ2iHOVyi5wAPjQ+HmnMuL0whK9ez8I/raWbtIg==}
+
engines: {node: '>=v16'}
+
+
'@sapphire/snowflake@3.5.3':
+
resolution: {integrity: sha512-jjmJywLAFoWeBi1W7994zZyiNWPIiqRRNAmSERxyg93xRGzNYvGjlZ0gR6x0F4gPRi2+0O6S71kOZYyr3cxaIQ==}
+
engines: {node: '>=v14.0.0', npm: '>=7.0.0'}
+
+
'@types/node@22.13.9':
+
resolution: {integrity: sha512-acBjXdRJ3A6Pb3tqnw9HZmyR3Fiol3aGxRCK1x3d+6CDAMjl7I649wpSd+yNURCjbOUGu9tqtLKnTGxmK6CyGw==}
+
+
'@types/ws@8.18.0':
+
resolution: {integrity: sha512-8svvI3hMyvN0kKCJMvTJP/x6Y/EoQbepff882wL+Sn5QsXb3etnamgrJq4isrBxSJj5L2AuXcI0+bgkoAXGUJw==}
+
+
'@vladfrangu/async_event_emitter@2.4.6':
+
resolution: {integrity: sha512-RaI5qZo6D2CVS6sTHFKg1v5Ohq/+Bo2LZ5gzUEwZ/WkHhwtGTCB/sVLw8ijOkAUxasZ+WshN/Rzj4ywsABJ5ZA==}
+
engines: {node: '>=v14.0.0', npm: '>=7.0.0'}
+
+
ansi-regex@5.0.1:
+
resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}
+
engines: {node: '>=8'}
+
+
ansi-regex@6.1.0:
+
resolution: {integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==}
+
engines: {node: '>=12'}
+
+
ansi-styles@4.3.0:
+
resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}
+
engines: {node: '>=8'}
+
+
ansi-styles@6.2.1:
+
resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==}
+
engines: {node: '>=12'}
+
+
anymatch@3.1.3:
+
resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==}
+
engines: {node: '>= 8'}
+
+
balanced-match@1.0.2:
+
resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
+
+
binary-extensions@2.3.0:
+
resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==}
+
engines: {node: '>=8'}
+
+
brace-expansion@1.1.11:
+
resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==}
+
+
brace-expansion@2.0.1:
+
resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==}
+
+
braces@3.0.3:
+
resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==}
+
engines: {node: '>=8'}
+
+
browserslist@4.24.4:
+
resolution: {integrity: sha512-KDi1Ny1gSePi1vm0q4oxSF8b4DR44GF4BbmS2YdhPLOEqd8pDviZOGH/GsmRwoWJ2+5Lr085X7naowMwKHDG1A==}
+
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
+
hasBin: true
+
+
caniuse-lite@1.0.30001702:
+
resolution: {integrity: sha512-LoPe/D7zioC0REI5W73PeR1e1MLCipRGq/VkovJnd6Df+QVqT+vT33OXCp8QUd7kA7RZrHWxb1B36OQKI/0gOA==}
+
+
chokidar@3.6.0:
+
resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==}
+
engines: {node: '>= 8.10.0'}
+
+
color-convert@2.0.1:
+
resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==}
+
engines: {node: '>=7.0.0'}
+
+
color-name@1.1.4:
+
resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}
+
+
commander@6.2.1:
+
resolution: {integrity: sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==}
+
engines: {node: '>= 6'}
+
+
concat-map@0.0.1:
+
resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
+
+
convert-source-map@2.0.0:
+
resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==}
+
+
cross-spawn@7.0.6:
+
resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}
+
engines: {node: '>= 8'}
+
+
debug@4.4.0:
+
resolution: {integrity: sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==}
+
engines: {node: '>=6.0'}
+
peerDependencies:
+
supports-color: '*'
+
peerDependenciesMeta:
+
supports-color:
+
optional: true
+
+
discord-api-types@0.37.119:
+
resolution: {integrity: sha512-WasbGFXEB+VQWXlo6IpW3oUv73Yuau1Ig4AZF/m13tXcTKnMpc/mHjpztIlz4+BM9FG9BHQkEXiPto3bKduQUg==}
+
+
discord.js@14.18.0:
+
resolution: {integrity: sha512-SvU5kVUvwunQhN2/+0t55QW/1EHfB1lp0TtLZUSXVHDmyHTrdOj5LRKdR0zLcybaA15F+NtdWuWmGOX9lE+CAw==}
+
engines: {node: '>=18'}
+
+
dotenv@16.4.7:
+
resolution: {integrity: sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==}
+
engines: {node: '>=12'}
+
+
eastasianwidth@0.2.0:
+
resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==}
+
+
electron-to-chromium@1.5.113:
+
resolution: {integrity: sha512-wjT2O4hX+wdWPJ76gWSkMhcHAV2PTMX+QetUCPYEdCIe+cxmgzzSSiGRCKW8nuh4mwKZlpv0xvoW7OF2X+wmHg==}
+
+
emoji-regex@8.0.0:
+
resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
+
+
emoji-regex@9.2.2:
+
resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==}
+
+
escalade@3.2.0:
+
resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==}
+
engines: {node: '>=6'}
+
+
fast-deep-equal@3.1.3:
+
resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}
+
+
fill-range@7.1.1:
+
resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==}
+
engines: {node: '>=8'}
+
+
foreground-child@3.3.1:
+
resolution: {integrity: sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==}
+
engines: {node: '>=14'}
+
+
fs-readdir-recursive@1.1.0:
+
resolution: {integrity: sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==}
+
+
fs.realpath@1.0.0:
+
resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}
+
+
fsevents@2.3.3:
+
resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==}
+
engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
+
os: [darwin]
+
+
gensync@1.0.0-beta.2:
+
resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==}
+
engines: {node: '>=6.9.0'}
+
+
glob-parent@5.1.2:
+
resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==}
+
engines: {node: '>= 6'}
+
+
glob@11.0.1:
+
resolution: {integrity: sha512-zrQDm8XPnYEKawJScsnM0QzobJxlT/kHOOlRTio8IH/GrmxRE5fjllkzdaHclIuNjUQTJYH2xHNIGfdpJkDJUw==}
+
engines: {node: 20 || >=22}
+
hasBin: true
+
+
glob@7.2.3:
+
resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}
+
deprecated: Glob versions prior to v9 are no longer supported
+
+
globals@11.12.0:
+
resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==}
+
engines: {node: '>=4'}
+
+
inflight@1.0.6:
+
resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==}
+
deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
+
+
inherits@2.0.4:
+
resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
+
+
is-binary-path@2.1.0:
+
resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}
+
engines: {node: '>=8'}
+
+
is-extglob@2.1.1:
+
resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==}
+
engines: {node: '>=0.10.0'}
+
+
is-fullwidth-code-point@3.0.0:
+
resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==}
+
engines: {node: '>=8'}
+
+
is-glob@4.0.3:
+
resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==}
+
engines: {node: '>=0.10.0'}
+
+
is-number@7.0.0:
+
resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==}
+
engines: {node: '>=0.12.0'}
+
+
isexe@2.0.0:
+
resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}
+
+
jackspeak@4.1.0:
+
resolution: {integrity: sha512-9DDdhb5j6cpeitCbvLO7n7J4IxnbM6hoF6O1g4HQ5TfhvvKN8ywDM7668ZhMHRqVmxqhps/F6syWK2KcPxYlkw==}
+
engines: {node: 20 || >=22}
+
+
js-tokens@4.0.0:
+
resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
+
+
jsesc@3.1.0:
+
resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==}
+
engines: {node: '>=6'}
+
hasBin: true
+
+
json5@2.2.3:
+
resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==}
+
engines: {node: '>=6'}
+
hasBin: true
+
+
lodash.snakecase@4.1.1:
+
resolution: {integrity: sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw==}
+
+
lodash@4.17.21:
+
resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}
+
+
lru-cache@11.0.2:
+
resolution: {integrity: sha512-123qHRfJBmo2jXDbo/a5YOQrJoHF/GNQTLzQ5+IdK5pWpceK17yRc6ozlWd25FxvGKQbIUs91fDFkXmDHTKcyA==}
+
engines: {node: 20 || >=22}
+
+
lru-cache@5.1.1:
+
resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==}
+
+
magic-bytes.js@1.10.0:
+
resolution: {integrity: sha512-/k20Lg2q8LE5xiaaSkMXk4sfvI+9EGEykFS4b0CHHGWqDYU0bGUFSwchNOMA56D7TCs9GwVTkqe9als1/ns8UQ==}
+
+
make-dir@2.1.0:
+
resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==}
+
engines: {node: '>=6'}
+
+
mime@4.0.6:
+
resolution: {integrity: sha512-4rGt7rvQHBbaSOF9POGkk1ocRP16Md1x36Xma8sz8h8/vfCUI2OtEIeCqe4Ofes853x4xDoPiFLIT47J5fI/7A==}
+
engines: {node: '>=16'}
+
hasBin: true
+
+
minimatch@10.0.1:
+
resolution: {integrity: sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==}
+
engines: {node: 20 || >=22}
+
+
minimatch@3.1.2:
+
resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==}
+
+
minipass@7.1.2:
+
resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==}
+
engines: {node: '>=16 || 14 >=14.17'}
+
+
ms@2.1.3:
+
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
+
+
node-releases@2.0.19:
+
resolution: {integrity: sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==}
+
+
normalize-path@3.0.0:
+
resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==}
+
engines: {node: '>=0.10.0'}
+
+
once@1.4.0:
+
resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}
+
+
package-json-from-dist@1.0.1:
+
resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==}
+
+
path-is-absolute@1.0.1:
+
resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==}
+
engines: {node: '>=0.10.0'}
+
+
path-key@3.1.1:
+
resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==}
+
engines: {node: '>=8'}
+
+
path-scurry@2.0.0:
+
resolution: {integrity: sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==}
+
engines: {node: 20 || >=22}
+
+
picocolors@1.1.1:
+
resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}
+
+
picomatch@2.3.1:
+
resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}
+
engines: {node: '>=8.6'}
+
+
pify@4.0.1:
+
resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==}
+
engines: {node: '>=6'}
+
+
readdirp@3.6.0:
+
resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==}
+
engines: {node: '>=8.10.0'}
+
+
semver@5.7.2:
+
resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==}
+
hasBin: true
+
+
semver@6.3.1:
+
resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==}
+
hasBin: true
+
+
shebang-command@2.0.0:
+
resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==}
+
engines: {node: '>=8'}
+
+
shebang-regex@3.0.0:
+
resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==}
+
engines: {node: '>=8'}
+
+
signal-exit@4.1.0:
+
resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==}
+
engines: {node: '>=14'}
+
+
slash@2.0.0:
+
resolution: {integrity: sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==}
+
engines: {node: '>=6'}
+
+
string-width@4.2.3:
+
resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==}
+
engines: {node: '>=8'}
+
+
string-width@5.1.2:
+
resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==}
+
engines: {node: '>=12'}
+
+
strip-ansi@6.0.1:
+
resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}
+
engines: {node: '>=8'}
+
+
strip-ansi@7.1.0:
+
resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==}
+
engines: {node: '>=12'}
+
+
to-regex-range@5.0.1:
+
resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}
+
engines: {node: '>=8.0'}
+
+
ts-mixer@6.0.4:
+
resolution: {integrity: sha512-ufKpbmrugz5Aou4wcr5Wc1UUFWOLhq+Fm6qa6P0w0K5Qw2yhaUoiWszhCVuNQyNwrlGiscHOmqYoAox1PtvgjA==}
+
+
tslib@2.8.1:
+
resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
+
+
undici-types@6.20.0:
+
resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==}
+
+
undici@6.21.1:
+
resolution: {integrity: sha512-q/1rj5D0/zayJB2FraXdaWxbhWiNKDvu8naDT2dl1yTlvJp4BLtOcp2a5BvgGNQpYYJzau7tf1WgKv3b+7mqpQ==}
+
engines: {node: '>=18.17'}
+
+
update-browserslist-db@1.1.3:
+
resolution: {integrity: sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==}
+
hasBin: true
+
peerDependencies:
+
browserslist: '>= 4.21.0'
+
+
which@2.0.2:
+
resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}
+
engines: {node: '>= 8'}
+
hasBin: true
+
+
wrap-ansi@7.0.0:
+
resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==}
+
engines: {node: '>=10'}
+
+
wrap-ansi@8.1.0:
+
resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==}
+
engines: {node: '>=12'}
+
+
wrappy@1.0.2:
+
resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}
+
+
ws@8.18.1:
+
resolution: {integrity: sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w==}
+
engines: {node: '>=10.0.0'}
+
peerDependencies:
+
bufferutil: ^4.0.1
+
utf-8-validate: '>=5.0.2'
+
peerDependenciesMeta:
+
bufferutil:
+
optional: true
+
utf-8-validate:
+
optional: true
+
+
yallist@3.1.1:
+
resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==}
+
+
snapshots:
+
+
'@ampproject/remapping@2.3.0':
+
dependencies:
+
'@jridgewell/gen-mapping': 0.3.8
+
'@jridgewell/trace-mapping': 0.3.25
+
+
'@babel/cli@7.26.4(@babel/core@7.26.9)':
+
dependencies:
+
'@babel/core': 7.26.9
+
'@jridgewell/trace-mapping': 0.3.25
+
commander: 6.2.1
+
convert-source-map: 2.0.0
+
fs-readdir-recursive: 1.1.0
+
glob: 7.2.3
+
make-dir: 2.1.0
+
slash: 2.0.0
+
optionalDependencies:
+
'@nicolo-ribaudo/chokidar-2': 2.1.8-no-fsevents.3
+
chokidar: 3.6.0
+
+
'@babel/code-frame@7.26.2':
+
dependencies:
+
'@babel/helper-validator-identifier': 7.25.9
+
js-tokens: 4.0.0
+
picocolors: 1.1.1
+
+
'@babel/compat-data@7.26.8': {}
+
+
'@babel/core@7.26.9':
+
dependencies:
+
'@ampproject/remapping': 2.3.0
+
'@babel/code-frame': 7.26.2
+
'@babel/generator': 7.26.9
+
'@babel/helper-compilation-targets': 7.26.5
+
'@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.9)
+
'@babel/helpers': 7.26.9
+
'@babel/parser': 7.26.9
+
'@babel/template': 7.26.9
+
'@babel/traverse': 7.26.9
+
'@babel/types': 7.26.9
+
convert-source-map: 2.0.0
+
debug: 4.4.0
+
gensync: 1.0.0-beta.2
+
json5: 2.2.3
+
semver: 6.3.1
+
transitivePeerDependencies:
+
- supports-color
+
+
'@babel/generator@7.26.9':
+
dependencies:
+
'@babel/parser': 7.26.9
+
'@babel/types': 7.26.9
+
'@jridgewell/gen-mapping': 0.3.8
+
'@jridgewell/trace-mapping': 0.3.25
+
jsesc: 3.1.0
+
+
'@babel/helper-annotate-as-pure@7.25.9':
+
dependencies:
+
'@babel/types': 7.26.9
+
+
'@babel/helper-compilation-targets@7.26.5':
+
dependencies:
+
'@babel/compat-data': 7.26.8
+
'@babel/helper-validator-option': 7.25.9
+
browserslist: 4.24.4
+
lru-cache: 5.1.1
+
semver: 6.3.1
+
+
'@babel/helper-create-class-features-plugin@7.26.9(@babel/core@7.26.9)':
+
dependencies:
+
'@babel/core': 7.26.9
+
'@babel/helper-annotate-as-pure': 7.25.9
+
'@babel/helper-member-expression-to-functions': 7.25.9
+
'@babel/helper-optimise-call-expression': 7.25.9
+
'@babel/helper-replace-supers': 7.26.5(@babel/core@7.26.9)
+
'@babel/helper-skip-transparent-expression-wrappers': 7.25.9
+
'@babel/traverse': 7.26.9
+
semver: 6.3.1
+
transitivePeerDependencies:
+
- supports-color
+
+
'@babel/helper-member-expression-to-functions@7.25.9':
+
dependencies:
+
'@babel/traverse': 7.26.9
+
'@babel/types': 7.26.9
+
transitivePeerDependencies:
+
- supports-color
+
+
'@babel/helper-module-imports@7.25.9':
+
dependencies:
+
'@babel/traverse': 7.26.9
+
'@babel/types': 7.26.9
+
transitivePeerDependencies:
+
- supports-color
+
+
'@babel/helper-module-transforms@7.26.0(@babel/core@7.26.9)':
+
dependencies:
+
'@babel/core': 7.26.9
+
'@babel/helper-module-imports': 7.25.9
+
'@babel/helper-validator-identifier': 7.25.9
+
'@babel/traverse': 7.26.9
+
transitivePeerDependencies:
+
- supports-color
+
+
'@babel/helper-optimise-call-expression@7.25.9':
+
dependencies:
+
'@babel/types': 7.26.9
+
+
'@babel/helper-plugin-utils@7.26.5': {}
+
+
'@babel/helper-replace-supers@7.26.5(@babel/core@7.26.9)':
+
dependencies:
+
'@babel/core': 7.26.9
+
'@babel/helper-member-expression-to-functions': 7.25.9
+
'@babel/helper-optimise-call-expression': 7.25.9
+
'@babel/traverse': 7.26.9
+
transitivePeerDependencies:
+
- supports-color
+
+
'@babel/helper-skip-transparent-expression-wrappers@7.25.9':
+
dependencies:
+
'@babel/traverse': 7.26.9
+
'@babel/types': 7.26.9
+
transitivePeerDependencies:
+
- supports-color
+
+
'@babel/helper-string-parser@7.25.9': {}
+
+
'@babel/helper-validator-identifier@7.25.9': {}
+
+
'@babel/helper-validator-option@7.25.9': {}
+
+
'@babel/helpers@7.26.9':
+
dependencies:
+
'@babel/template': 7.26.9
+
'@babel/types': 7.26.9
+
+
'@babel/parser@7.26.9':
+
dependencies:
+
'@babel/types': 7.26.9
+
+
'@babel/plugin-syntax-typescript@7.25.9(@babel/core@7.26.9)':
+
dependencies:
+
'@babel/core': 7.26.9
+
'@babel/helper-plugin-utils': 7.26.5
+
+
'@babel/plugin-transform-typescript@7.26.8(@babel/core@7.26.9)':
+
dependencies:
+
'@babel/core': 7.26.9
+
'@babel/helper-annotate-as-pure': 7.25.9
+
'@babel/helper-create-class-features-plugin': 7.26.9(@babel/core@7.26.9)
+
'@babel/helper-plugin-utils': 7.26.5
+
'@babel/helper-skip-transparent-expression-wrappers': 7.25.9
+
'@babel/plugin-syntax-typescript': 7.25.9(@babel/core@7.26.9)
+
transitivePeerDependencies:
+
- supports-color
+
+
'@babel/template@7.26.9':
+
dependencies:
+
'@babel/code-frame': 7.26.2
+
'@babel/parser': 7.26.9
+
'@babel/types': 7.26.9
+
+
'@babel/traverse@7.26.9':
+
dependencies:
+
'@babel/code-frame': 7.26.2
+
'@babel/generator': 7.26.9
+
'@babel/parser': 7.26.9
+
'@babel/template': 7.26.9
+
'@babel/types': 7.26.9
+
debug: 4.4.0
+
globals: 11.12.0
+
transitivePeerDependencies:
+
- supports-color
+
+
'@babel/types@7.26.9':
+
dependencies:
+
'@babel/helper-string-parser': 7.25.9
+
'@babel/helper-validator-identifier': 7.25.9
+
+
'@discordjs/builders@1.10.1':
+
dependencies:
+
'@discordjs/formatters': 0.6.0
+
'@discordjs/util': 1.1.1
+
'@sapphire/shapeshift': 4.0.0
+
discord-api-types: 0.37.119
+
fast-deep-equal: 3.1.3
+
ts-mixer: 6.0.4
+
tslib: 2.8.1
+
+
'@discordjs/collection@1.5.3': {}
+
+
'@discordjs/collection@2.1.1': {}
+
+
'@discordjs/formatters@0.6.0':
+
dependencies:
+
discord-api-types: 0.37.119
+
+
'@discordjs/rest@2.4.3':
+
dependencies:
+
'@discordjs/collection': 2.1.1
+
'@discordjs/util': 1.1.1
+
'@sapphire/async-queue': 1.5.5
+
'@sapphire/snowflake': 3.5.3
+
'@vladfrangu/async_event_emitter': 2.4.6
+
discord-api-types: 0.37.119
+
magic-bytes.js: 1.10.0
+
tslib: 2.8.1
+
undici: 6.21.1
+
+
'@discordjs/util@1.1.1': {}
+
+
'@discordjs/ws@1.2.1':
+
dependencies:
+
'@discordjs/collection': 2.1.1
+
'@discordjs/rest': 2.4.3
+
'@discordjs/util': 1.1.1
+
'@sapphire/async-queue': 1.5.5
+
'@types/ws': 8.18.0
+
'@vladfrangu/async_event_emitter': 2.4.6
+
discord-api-types: 0.37.119
+
tslib: 2.8.1
+
ws: 8.18.1
+
transitivePeerDependencies:
+
- bufferutil
+
- utf-8-validate
+
+
'@isaacs/cliui@8.0.2':
+
dependencies:
+
string-width: 5.1.2
+
string-width-cjs: string-width@4.2.3
+
strip-ansi: 7.1.0
+
strip-ansi-cjs: strip-ansi@6.0.1
+
wrap-ansi: 8.1.0
+
wrap-ansi-cjs: wrap-ansi@7.0.0
+
+
'@jridgewell/gen-mapping@0.3.8':
+
dependencies:
+
'@jridgewell/set-array': 1.2.1
+
'@jridgewell/sourcemap-codec': 1.5.0
+
'@jridgewell/trace-mapping': 0.3.25
+
+
'@jridgewell/resolve-uri@3.1.2': {}
+
+
'@jridgewell/set-array@1.2.1': {}
+
+
'@jridgewell/sourcemap-codec@1.5.0': {}
+
+
'@jridgewell/trace-mapping@0.3.25':
+
dependencies:
+
'@jridgewell/resolve-uri': 3.1.2
+
'@jridgewell/sourcemap-codec': 1.5.0
+
+
'@nicolo-ribaudo/chokidar-2@2.1.8-no-fsevents.3':
+
optional: true
+
+
'@sapphire/async-queue@1.5.5': {}
+
+
'@sapphire/shapeshift@4.0.0':
+
dependencies:
+
fast-deep-equal: 3.1.3
+
lodash: 4.17.21
+
+
'@sapphire/snowflake@3.5.3': {}
+
+
'@types/node@22.13.9':
+
dependencies:
+
undici-types: 6.20.0
+
+
'@types/ws@8.18.0':
+
dependencies:
+
'@types/node': 22.13.9
+
+
'@vladfrangu/async_event_emitter@2.4.6': {}
+
+
ansi-regex@5.0.1: {}
+
+
ansi-regex@6.1.0: {}
+
+
ansi-styles@4.3.0:
+
dependencies:
+
color-convert: 2.0.1
+
+
ansi-styles@6.2.1: {}
+
+
anymatch@3.1.3:
+
dependencies:
+
normalize-path: 3.0.0
+
picomatch: 2.3.1
+
optional: true
+
+
balanced-match@1.0.2: {}
+
+
binary-extensions@2.3.0:
+
optional: true
+
+
brace-expansion@1.1.11:
+
dependencies:
+
balanced-match: 1.0.2
+
concat-map: 0.0.1
+
+
brace-expansion@2.0.1:
+
dependencies:
+
balanced-match: 1.0.2
+
+
braces@3.0.3:
+
dependencies:
+
fill-range: 7.1.1
+
optional: true
+
+
browserslist@4.24.4:
+
dependencies:
+
caniuse-lite: 1.0.30001702
+
electron-to-chromium: 1.5.113
+
node-releases: 2.0.19
+
update-browserslist-db: 1.1.3(browserslist@4.24.4)
+
+
caniuse-lite@1.0.30001702: {}
+
+
chokidar@3.6.0:
+
dependencies:
+
anymatch: 3.1.3
+
braces: 3.0.3
+
glob-parent: 5.1.2
+
is-binary-path: 2.1.0
+
is-glob: 4.0.3
+
normalize-path: 3.0.0
+
readdirp: 3.6.0
+
optionalDependencies:
+
fsevents: 2.3.3
+
optional: true
+
+
color-convert@2.0.1:
+
dependencies:
+
color-name: 1.1.4
+
+
color-name@1.1.4: {}
+
+
commander@6.2.1: {}
+
+
concat-map@0.0.1: {}
+
+
convert-source-map@2.0.0: {}
+
+
cross-spawn@7.0.6:
+
dependencies:
+
path-key: 3.1.1
+
shebang-command: 2.0.0
+
which: 2.0.2
+
+
debug@4.4.0:
+
dependencies:
+
ms: 2.1.3
+
+
discord-api-types@0.37.119: {}
+
+
discord.js@14.18.0:
+
dependencies:
+
'@discordjs/builders': 1.10.1
+
'@discordjs/collection': 1.5.3
+
'@discordjs/formatters': 0.6.0
+
'@discordjs/rest': 2.4.3
+
'@discordjs/util': 1.1.1
+
'@discordjs/ws': 1.2.1
+
'@sapphire/snowflake': 3.5.3
+
discord-api-types: 0.37.119
+
fast-deep-equal: 3.1.3
+
lodash.snakecase: 4.1.1
+
tslib: 2.8.1
+
undici: 6.21.1
+
transitivePeerDependencies:
+
- bufferutil
+
- utf-8-validate
+
+
dotenv@16.4.7: {}
+
+
eastasianwidth@0.2.0: {}
+
+
electron-to-chromium@1.5.113: {}
+
+
emoji-regex@8.0.0: {}
+
+
emoji-regex@9.2.2: {}
+
+
escalade@3.2.0: {}
+
+
fast-deep-equal@3.1.3: {}
+
+
fill-range@7.1.1:
+
dependencies:
+
to-regex-range: 5.0.1
+
optional: true
+
+
foreground-child@3.3.1:
+
dependencies:
+
cross-spawn: 7.0.6
+
signal-exit: 4.1.0
+
+
fs-readdir-recursive@1.1.0: {}
+
+
fs.realpath@1.0.0: {}
+
+
fsevents@2.3.3:
+
optional: true
+
+
gensync@1.0.0-beta.2: {}
+
+
glob-parent@5.1.2:
+
dependencies:
+
is-glob: 4.0.3
+
optional: true
+
+
glob@11.0.1:
+
dependencies:
+
foreground-child: 3.3.1
+
jackspeak: 4.1.0
+
minimatch: 10.0.1
+
minipass: 7.1.2
+
package-json-from-dist: 1.0.1
+
path-scurry: 2.0.0
+
+
glob@7.2.3:
+
dependencies:
+
fs.realpath: 1.0.0
+
inflight: 1.0.6
+
inherits: 2.0.4
+
minimatch: 3.1.2
+
once: 1.4.0
+
path-is-absolute: 1.0.1
+
+
globals@11.12.0: {}
+
+
inflight@1.0.6:
+
dependencies:
+
once: 1.4.0
+
wrappy: 1.0.2
+
+
inherits@2.0.4: {}
+
+
is-binary-path@2.1.0:
+
dependencies:
+
binary-extensions: 2.3.0
+
optional: true
+
+
is-extglob@2.1.1:
+
optional: true
+
+
is-fullwidth-code-point@3.0.0: {}
+
+
is-glob@4.0.3:
+
dependencies:
+
is-extglob: 2.1.1
+
optional: true
+
+
is-number@7.0.0:
+
optional: true
+
+
isexe@2.0.0: {}
+
+
jackspeak@4.1.0:
+
dependencies:
+
'@isaacs/cliui': 8.0.2
+
+
js-tokens@4.0.0: {}
+
+
jsesc@3.1.0: {}
+
+
json5@2.2.3: {}
+
+
lodash.snakecase@4.1.1: {}
+
+
lodash@4.17.21: {}
+
+
lru-cache@11.0.2: {}
+
+
lru-cache@5.1.1:
+
dependencies:
+
yallist: 3.1.1
+
+
magic-bytes.js@1.10.0: {}
+
+
make-dir@2.1.0:
+
dependencies:
+
pify: 4.0.1
+
semver: 5.7.2
+
+
mime@4.0.6: {}
+
+
minimatch@10.0.1:
+
dependencies:
+
brace-expansion: 2.0.1
+
+
minimatch@3.1.2:
+
dependencies:
+
brace-expansion: 1.1.11
+
+
minipass@7.1.2: {}
+
+
ms@2.1.3: {}
+
+
node-releases@2.0.19: {}
+
+
normalize-path@3.0.0:
+
optional: true
+
+
once@1.4.0:
+
dependencies:
+
wrappy: 1.0.2
+
+
package-json-from-dist@1.0.1: {}
+
+
path-is-absolute@1.0.1: {}
+
+
path-key@3.1.1: {}
+
+
path-scurry@2.0.0:
+
dependencies:
+
lru-cache: 11.0.2
+
minipass: 7.1.2
+
+
picocolors@1.1.1: {}
+
+
picomatch@2.3.1:
+
optional: true
+
+
pify@4.0.1: {}
+
+
readdirp@3.6.0:
+
dependencies:
+
picomatch: 2.3.1
+
optional: true
+
+
semver@5.7.2: {}
+
+
semver@6.3.1: {}
+
+
shebang-command@2.0.0:
+
dependencies:
+
shebang-regex: 3.0.0
+
+
shebang-regex@3.0.0: {}
+
+
signal-exit@4.1.0: {}
+
+
slash@2.0.0: {}
+
+
string-width@4.2.3:
+
dependencies:
+
emoji-regex: 8.0.0
+
is-fullwidth-code-point: 3.0.0
+
strip-ansi: 6.0.1
+
+
string-width@5.1.2:
+
dependencies:
+
eastasianwidth: 0.2.0
+
emoji-regex: 9.2.2
+
strip-ansi: 7.1.0
+
+
strip-ansi@6.0.1:
+
dependencies:
+
ansi-regex: 5.0.1
+
+
strip-ansi@7.1.0:
+
dependencies:
+
ansi-regex: 6.1.0
+
+
to-regex-range@5.0.1:
+
dependencies:
+
is-number: 7.0.0
+
optional: true
+
+
ts-mixer@6.0.4: {}
+
+
tslib@2.8.1: {}
+
+
undici-types@6.20.0: {}
+
+
undici@6.21.1: {}
+
+
update-browserslist-db@1.1.3(browserslist@4.24.4):
+
dependencies:
+
browserslist: 4.24.4
+
escalade: 3.2.0
+
picocolors: 1.1.1
+
+
which@2.0.2:
+
dependencies:
+
isexe: 2.0.0
+
+
wrap-ansi@7.0.0:
+
dependencies:
+
ansi-styles: 4.3.0
+
string-width: 4.2.3
+
strip-ansi: 6.0.1
+
+
wrap-ansi@8.1.0:
+
dependencies:
+
ansi-styles: 6.2.1
+
string-width: 5.1.2
+
strip-ansi: 7.1.0
+
+
wrappy@1.0.2: {}
+
+
ws@8.18.1: {}
+
+
yallist@3.1.1: {}
+2 -2
src/commands/dong/create.ts
···
SlashCommandBuilder,
} from "discord.js";
import type { customClient } from "../..";
-
import { createDong } from "../../lib/dong-io";
-
import { download } from "../../lib/download";
+
import { createDong } from "../../lib/dong-io.ts";
+
import { download } from "../../lib/download.ts";
export const data = new SlashCommandBuilder()
.setName("create")
+2 -2
src/commands/dong/open.ts
···
SlashCommandBuilder,
} from "discord.js";
import type { customClient } from "../..";
-
import { download } from "../../lib/download";
-
import { readDong } from "../../lib/dong-io";
+
import { download } from "../../lib/download.ts";
+
import { readDong } from "../../lib/dong-io.ts";
import { Mime } from "mime";
import standardTypes from "mime/types/standard.js";
import otherTypes from "mime/types/other.js";
+11 -4
src/index.ts
···
MessageFlags,
type Interaction,
} from "discord.js";
-
import { Glob } from "bun";
+
// import { Glob } from "bun";
+
import { glob } from "glob";
+
import "dotenv/config";
+
import path from "node:path";
const token = process.env.token;
if (!token) throw new Error("Token required. Please fill in TOKEN in .env");
console.log("Token Valid!");
+
+
const __dirname = import.meta.dirname;
// client typing
export type customClient = Client & {
···
// setup commands
client.commands = new Collection();
-
const commandGlob = new Glob("**/*.ts");
-
for await (const file of commandGlob.scan("./src/commands")) {
-
const command = await import("./commands/" + file);
+
// const commandGlob = new Glob("**/*.ts");
+
for (const file of await glob("src/commands/**/*.ts", {
+
ignore: "node_modules",
+
})) {
+
const command = await import("file:///" + path.join(__dirname, "..", file));
// check command contains all required properties
if (
"data" in command &&