diff --git a/config.json.example b/config.json.example deleted file mode 100644 index c8bbee2..0000000 --- a/config.json.example +++ /dev/null @@ -1,10 +0,0 @@ -{ - "discord": { - "token": "", - "guild": "", - "channel": "" - }, - "server": { - "port": "37405" - } -} diff --git a/package.json b/package.json index 5a3888a..d8881b3 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "scripts": { "start": "node .", "start:devServer": "nodemon .", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo 'Error: no test specified' && exit 1" }, "repository": { "type": "git", diff --git a/web.js b/web.js index 1d8b061..b3c7566 100644 --- a/web.js +++ b/web.js @@ -143,7 +143,6 @@ requests['mute'] = (params, ret) => { params ); - //let member = discordGuild.members.find(user => user.id === id); discordGuild.members.fetch(id) .then((member) => { if (!member.voice.serverMute && mute) {