Skip to content
This repository was archived by the owner on Nov 19, 2017. It is now read-only.

Commit 084dc11

Browse files
committed
Update for d.js v12 and deps
1 parent 245747b commit 084dc11

File tree

7 files changed

+282
-332
lines changed

7 files changed

+282
-332
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ before_install:
2121
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-engine
2222
language: node_js
2323
node_js:
24-
- '7'
24+
- '8'
2525
cache: yarn
2626
install: yarn install
2727
script:

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:7-alpine
1+
FROM node:8-alpine
22

33
LABEL maintainer "iCrawl <[email protected]>"
44

commands/info/server-info.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ const humanLevels = {
66
0: 'None',
77
1: 'Low',
88
2: 'Medium',
9-
3: '(╯°□°)╯︵ ┻━┻'
9+
3: '(╯°□°)╯︵ ┻━┻',
10+
4: '┻━┻ ミヽ(ಠ益ಠ)ノ彡┻━┻'
1011
};
1112

1213
module.exports = class ServerInfoCommand extends Command {

commands/music/play.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ module.exports = class PlaySongCommand extends Command {
4848
}
4949

5050
const permissions = voiceChannel.permissionsFor(msg.client.user);
51-
if (!permissions.hasPermission('CONNECT')) {
51+
if (!permissions.has('CONNECT')) {
5252
return msg.reply('I don\'t have permission to join your voice channel. No parties allowed there.');
5353
}
54-
if (!permissions.hasPermission('SPEAK')) {
54+
if (!permissions.has('SPEAK')) {
5555
return msg.reply('I don\'t have permission to speak in your voice channel. What a disappointment.');
5656
}
5757
} else if (!queue.voiceChannel.members.has(msg.author.id)) {

docker-compose.yml.example

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ services:
2121
- MAX_LENGTH=MAXIMUM_LENGTH_PER_SONG
2222
- MAX_SONGS=HOW_MANY_SONGS_A_USER_CAN_QUEUE_UP
2323
- PASSES=UPD_PACKET_PASS
24+
volumes:
25+
- LOCALHOST_VOLUME_PATH/backgrounds:/assets/profile/backgrounds
2426
depends_on:
2527
- postgres
2628
- redis

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"homepage": "https://github.com/WeebDev/Commando#readme",
5858
"dependencies": {
5959
"Sherlock": "neilgupta/Sherlock",
60-
"bufferutil": "^3.0.0",
60+
"bufferutil": "^3.0.1",
6161
"canvas": "automattic/node-canvas",
6262
"cheerio": "^0.22.0",
6363
"discord.js": "hydrabolt/discord.js",
@@ -66,21 +66,21 @@
6666
"moment": "^2.18.1",
6767
"moment-duration-format": "^1.3.0",
6868
"node-opus": "^0.2.6",
69-
"pg": "^6.2.2",
69+
"pg": "^6.2.4",
7070
"pg-hstore": "^2.3.2",
7171
"prism-media": "hydrabolt/prism-media",
7272
"redis": "^2.7.1",
7373
"request": "^2.81.0",
7474
"request-promise": "^4.2.1",
75-
"sequelize": "^3.30.4",
75+
"sequelize": "^4.1.0",
7676
"simple-youtube-api": "^2.1.0",
77-
"snekfetch": "^3.1.7",
77+
"snekfetch": "^3.1.8",
7878
"tsubaki": "^1.1.1",
7979
"winston": "^2.3.1",
80-
"ytdl-core": "^0.14.1"
80+
"ytdl-core": "^0.14.4"
8181
},
8282
"devDependencies": {
83-
"eslint": "^3.19.0",
83+
"eslint": "^4.0.0",
8484
"eslint-config-aqua": "^1.2.1"
8585
},
8686
"eslintConfig": {

0 commit comments

Comments
 (0)