mirror of
https://github.com/litruv/DAdmin.git
synced 2026-07-24 10:46:14 +10:00
docker update + git fun
This commit is contained in:
@@ -7,9 +7,6 @@ WORKDIR /app
|
||||
COPY package.json /app
|
||||
# We then run npm install to install
|
||||
# express for our applicationRUN
|
||||
RUN apt-get update && \
|
||||
apt-get upgrade -y && \
|
||||
apt-get install -y git
|
||||
RUN npm install
|
||||
# We then copy the rest of our application
|
||||
# to the app direcoty
|
||||
|
||||
11
commands/hello.js
Normal file
11
commands/hello.js
Normal file
@@ -0,0 +1,11 @@
|
||||
module.exports = {
|
||||
name: "Hello",
|
||||
alias: ['hi'],
|
||||
helptext: "Says G'day",
|
||||
helphide: false,
|
||||
permissions: ['READ_MESSAGES'],
|
||||
category: 'general',
|
||||
command: (client, msg) => {
|
||||
msg.reply("G'day!")
|
||||
}
|
||||
}
|
||||
@@ -13,7 +13,7 @@
|
||||
"devDependencies": {},
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"start": "git pull && node index.js"
|
||||
"start": "node index.js"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC"
|
||||
|
||||
Reference in New Issue
Block a user