diff --git a/.gitignore b/.gitignore index 656811d..1f83f4c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ node_modules data config.js -package-lock.json \ No newline at end of file +package-lock.json +.env \ No newline at end of file diff --git a/package.json b/package.json index fa5d116..0baac56 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "woomy", - "version": "1.1.0", + "version": "1.2.3", "description": "Woomy is a all-purpose discord bot built off the guidebot base and coded in node.js using discord.js.", "main": "index.js", "dependencies": { diff --git a/src/commands/foxgirl.js b/src/commands/foxgirl.js index f3f3312..a2a2d40 100644 --- a/src/commands/foxgirl.js +++ b/src/commands/foxgirl.js @@ -1,4 +1,4 @@ -const API = require('nekos.life'); +/*const API = require('nekos.life'); const {sfw} = new API(); exports.run = async (client, message) => { message.channel.startTyping(); @@ -15,7 +15,7 @@ exports.run = async (client, message) => { }; exports.conf = { - enabled: true, + enabled: false, guildOnly: false, aliases: [], permLevel: "User", @@ -28,3 +28,4 @@ exports.help = { description: "Sends you pictures of fox girls.", usage: "foxgirl" }; +*/ \ No newline at end of file diff --git a/src/commands/kemonomimi.js b/src/commands/kemonomimi.js index 3c4b70e..dbf4d6d 100644 --- a/src/commands/kemonomimi.js +++ b/src/commands/kemonomimi.js @@ -1,4 +1,4 @@ -const API = require('nekos.life'); +/*const API = require('nekos.life'); const {sfw} = new API(); exports.run = async (client, message) => { message.channel.startTyping(); @@ -15,7 +15,7 @@ exports.run = async (client, message) => { }; exports.conf = { - enabled: true, + enabled: false, guildOnly: false, aliases: [], permLevel: "User", @@ -27,4 +27,4 @@ exports.help = { category: "Image", description: "Sends you pictures of people with animal characteristics.", usage: "kemonomimi" -}; +};*/ diff --git a/src/commands/neko.js b/src/commands/neko.js index 7ce0d6b..301e850 100644 --- a/src/commands/neko.js +++ b/src/commands/neko.js @@ -1,4 +1,4 @@ -const API = require('nekos.life'); +/*const API = require('nekos.life'); const {sfw} = new API(); exports.run = async (client, message) => { message.channel.startTyping(); @@ -15,7 +15,7 @@ exports.run = async (client, message) => { }; exports.conf = { - enabled: true, + enabled: false, guildOnly: false, aliases: ["catgirl"], permLevel: "User", @@ -27,4 +27,4 @@ exports.help = { category: "Image", description: "Sends you pictures of catgirls.", usage: "neko" -}; +};*/ diff --git a/src/commands/nekogif.js b/src/commands/nekogif.js index 0df6917..c3405d2 100644 --- a/src/commands/nekogif.js +++ b/src/commands/nekogif.js @@ -1,4 +1,4 @@ -const API = require('nekos.life'); +/*const API = require('nekos.life'); const {sfw} = new API(); exports.run = async (client, message) => { message.channel.startTyping(); @@ -15,7 +15,7 @@ exports.run = async (client, message) => { }; exports.conf = { - enabled: true, + enabled: false, guildOnly: false, aliases: ["catgirlgif"], permLevel: "User", @@ -27,4 +27,4 @@ exports.help = { category: "Image", description: "Sends you gifs of catgirls.", usage: "nekogif" -}; +};*/ diff --git a/src/modules/functions.js b/src/modules/functions.js index f8c552c..eb759a1 100644 --- a/src/modules/functions.js +++ b/src/modules/functions.js @@ -280,6 +280,8 @@ module.exports = client => { { let dispatcher = client.music.getGuild(message.guild.id).dispatcher = connection.play(await ytdl("https://www.youtube.com/watch?v=" + id, {highWaterMark: 1024 * 1024 * 32}), {type: 'opus'}); + dispatcher.setVolume(0.25) + dispatcher.on('finish', (a, b) => { end(a == "silent"); @@ -386,6 +388,6 @@ module.exports = client => { }); process.on("unhandledRejection", err => { - client.logger.error(`Unhandled rejection: ${err.stack}`); + client.logger.error(`Unhandled rejection: ${err}`); }); };