feat: docker
This commit is contained in:
parent
f5b30badf8
commit
81fb27cb0a
2 changed files with 10 additions and 0 deletions
9
Dockerfile
Normal file
9
Dockerfile
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
FROM node:16.19.0
|
||||||
|
RUN mkdir app
|
||||||
|
WORKDIR /app
|
||||||
|
COPY . .
|
||||||
|
RUN yarn install
|
||||||
|
RUN yarn build
|
||||||
|
|
||||||
|
|
||||||
|
CMD ["yarn", "start"]
|
|
@ -21,6 +21,7 @@ export default class MuffinAI extends Client {
|
||||||
type: ActivityType.Playing,
|
type: ActivityType.Playing,
|
||||||
name: 'ㅅ살려주세요..!',
|
name: 'ㅅ살려주세요..!',
|
||||||
})
|
})
|
||||||
|
console.log(`먹힐 준비 완료`)
|
||||||
}).on('messageCreate', async msg => {
|
}).on('messageCreate', async msg => {
|
||||||
if (msg.author.bot) return
|
if (msg.author.bot) return
|
||||||
if (!msg.content.startsWith('머핀아 ')) return
|
if (!msg.content.startsWith('머핀아 ')) return
|
||||||
|
|
Loading…
Reference in a new issue