From 0662be72d110e95e4af94c530fd0cef7bbd310f8 Mon Sep 17 00:00:00 2001 From: Emily Date: Sat, 18 Apr 2020 04:11:13 +0000 Subject: [PATCH 1/5] why are unhandled rejections trying to log a stack --- src/modules/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/functions.js b/src/modules/functions.js index f8c552c..46ad1e4 100644 --- a/src/modules/functions.js +++ b/src/modules/functions.js @@ -386,6 +386,6 @@ module.exports = client => { }); process.on("unhandledRejection", err => { - client.logger.error(`Unhandled rejection: ${err.stack}`); + client.logger.error(`Unhandled rejection: ${err}`); }); }; From 57ad4914f86f447303c5d1d9c85667fb878146e5 Mon Sep 17 00:00:00 2001 From: FLGX Date: Sat, 18 Apr 2020 21:34:41 +0200 Subject: [PATCH 2/5] set volume to 25% by default for now before v2 woomy is released --- src/modules/functions.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/functions.js b/src/modules/functions.js index 46ad1e4..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"); From 79b14f60aa745d00da5978874ec2d3ae5888fbcd Mon Sep 17 00:00:00 2001 From: TheCakeChicken Date: Sun, 19 Apr 2020 00:22:57 +0100 Subject: [PATCH 3/5] Remove potentially NSFW content --- .gitignore | 3 ++- src/commands/foxgirl.js | 2 +- src/commands/kemonomimi.js | 2 +- src/commands/neko.js | 2 +- src/commands/nekogif.js | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) 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/src/commands/foxgirl.js b/src/commands/foxgirl.js index f3f3312..3d8a0e6 100644 --- a/src/commands/foxgirl.js +++ b/src/commands/foxgirl.js @@ -15,7 +15,7 @@ exports.run = async (client, message) => { }; exports.conf = { - enabled: true, + enabled: false, guildOnly: false, aliases: [], permLevel: "User", diff --git a/src/commands/kemonomimi.js b/src/commands/kemonomimi.js index 3c4b70e..7d16938 100644 --- a/src/commands/kemonomimi.js +++ b/src/commands/kemonomimi.js @@ -15,7 +15,7 @@ exports.run = async (client, message) => { }; exports.conf = { - enabled: true, + enabled: false, guildOnly: false, aliases: [], permLevel: "User", diff --git a/src/commands/neko.js b/src/commands/neko.js index 7ce0d6b..6e62f19 100644 --- a/src/commands/neko.js +++ b/src/commands/neko.js @@ -15,7 +15,7 @@ exports.run = async (client, message) => { }; exports.conf = { - enabled: true, + enabled: false, guildOnly: false, aliases: ["catgirl"], permLevel: "User", diff --git a/src/commands/nekogif.js b/src/commands/nekogif.js index 0df6917..cc878e8 100644 --- a/src/commands/nekogif.js +++ b/src/commands/nekogif.js @@ -15,7 +15,7 @@ exports.run = async (client, message) => { }; exports.conf = { - enabled: true, + enabled: false, guildOnly: false, aliases: ["catgirlgif"], permLevel: "User", From f702254603d2e3d3e01e734bbfaf85d5956ad9f9 Mon Sep 17 00:00:00 2001 From: TheCakeChicken Date: Sun, 19 Apr 2020 00:40:05 +0100 Subject: [PATCH 4/5] actually disable potentially NSFW commands --- src/commands/foxgirl.js | 3 ++- src/commands/kemonomimi.js | 4 ++-- src/commands/neko.js | 4 ++-- src/commands/nekogif.js | 4 ++-- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/commands/foxgirl.js b/src/commands/foxgirl.js index 3d8a0e6..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(); @@ -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 7d16938..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(); @@ -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 6e62f19..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(); @@ -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 cc878e8..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(); @@ -27,4 +27,4 @@ exports.help = { category: "Image", description: "Sends you gifs of catgirls.", usage: "nekogif" -}; +};*/ From 536c6f2b2aa9b8f0a4d1686447792fd288393540 Mon Sep 17 00:00:00 2001 From: Emily Date: Mon, 20 Apr 2020 02:49:36 +0000 Subject: [PATCH 5/5] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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": {