mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 16:30:58 -05:00
Compare commits
3 Commits
ff95ded89c
...
1bf0ce0e4b
Author | SHA1 | Date | |
---|---|---|---|
|
1bf0ce0e4b | ||
|
51119aff72 | ||
|
bb415d792d |
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,5 +2,6 @@
|
|||||||
.yarn
|
.yarn
|
||||||
.pnp.*
|
.pnp.*
|
||||||
dist
|
dist
|
||||||
|
build_cache
|
||||||
src/private
|
src/private
|
||||||
src/*.json
|
src/*.json
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
FROM node:22.0.0-alpine3.19
|
FROM node:22.1.0-alpine3.19
|
||||||
ENV YARN_VERSION 4.2.1
|
ENV YARN_VERSION 4.2.1
|
||||||
ENV TZ Australia/Sydney
|
ENV TZ Australia/Sydney
|
||||||
|
ENV NODE_COMPILE_CACHE /Daggerbot/build_cache
|
||||||
RUN yarn policies set-version $YARN_VERSION
|
RUN yarn policies set-version $YARN_VERSION
|
||||||
RUN apk update && apk upgrade && apk add --no-cache git fontconfig ttf-dejavu
|
RUN apk update && apk upgrade && apk add --no-cache git fontconfig ttf-dejavu
|
||||||
WORKDIR /Daggerbot
|
WORKDIR /Daggerbot
|
||||||
|
@ -7,3 +7,4 @@ services:
|
|||||||
- ./.git:/Daggerbot/.git:rw
|
- ./.git:/Daggerbot/.git:rw
|
||||||
- ./src/:/Daggerbot/src/:rw
|
- ./src/:/Daggerbot/src/:rw
|
||||||
- ./dist/:/Daggerbot/dist/:rw
|
- ./dist/:/Daggerbot/dist/:rw
|
||||||
|
- ./build_cache/:/Daggerbot/build_cache:rw
|
||||||
|
@ -99,7 +99,7 @@ export default class MessageCreate {
|
|||||||
const times_of_day = ['morning', 'afternoon', 'evening', 'night'];
|
const times_of_day = ['morning', 'afternoon', 'evening', 'night'];
|
||||||
for (let i = 0; i < times_of_day.length; i++) Response.create(message, GeneralChatID, times_of_day[i]);
|
for (let i = 0; i < times_of_day.length; i++) Response.create(message, GeneralChatID, times_of_day[i]);
|
||||||
|
|
||||||
CmdTrigger.registerCmds(client, message, 'register');
|
CmdTrigger.registerCmds(client, message, 'deploy');
|
||||||
CmdTrigger.MFPwTrigger(message, 'farmpw');
|
CmdTrigger.MFPwTrigger(message, 'farmpw');
|
||||||
|
|
||||||
let picStorage = {
|
let picStorage = {
|
||||||
|
@ -3,18 +3,14 @@
|
|||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"removeComments": true,
|
"removeComments": true,
|
||||||
"noUnusedLocals": true,
|
"noUnusedLocals": true,
|
||||||
"esModuleInterop": true,
|
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"noUnusedParameters": true,
|
"noUnusedParameters": true,
|
||||||
"emitDecoratorMetadata": true,
|
|
||||||
"experimentalDecorators": true,
|
|
||||||
"allowSyntheticDefaultImports": true,
|
|
||||||
"target": "ES2022",
|
"target": "ES2022",
|
||||||
"module": "ESNext",
|
"module": "ES2022",
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"rootDir": "src",
|
"rootDir": "src",
|
||||||
"outDir": "dist",
|
"outDir": "dist",
|
||||||
"moduleResolution": "bundler",
|
"moduleResolution": "Bundler",
|
||||||
"typeRoots": [ "./src/interfaces.d.ts" ]
|
"typeRoots": [ "./src/interfaces.d.ts" ]
|
||||||
},
|
},
|
||||||
"include": [ "src" ],
|
"include": [ "src" ],
|
||||||
|
Loading…
Reference in New Issue
Block a user