Official Kotersquad discord bot, written in Node.
Commited on by Robin Boers.
diff --git a/commands/penis.js b/commands/penis.js
index 1ce8913..cf6bcb0 100644
--- a/commands/penis.js
+++ b/commands/penis.js
@@ -3,10 +3,11 @@ module.exports = {
description: "nsfw content",
execute(message, args){
- const { prefix, token, nswfAllowed, coinEmoji, AdminRole, redditToken } = require('../config.json');
if (message.channel.nsfw) {
+ const { prefix, token, nswfAllowed, coinEmoji, AdminRole, redditToken } = require('../config.json');
+
var snoowrap = require('snoowrap');
const r = new snoowrap({
userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0',
diff --git a/commands/porn.js b/commands/porn.js
index 8597925..ef5b4a8 100644
--- a/commands/porn.js
+++ b/commands/porn.js
@@ -5,6 +5,8 @@ module.exports = {
if (message.channel.nsfw) {
+ const { prefix, token, nswfAllowed, coinEmoji, AdminRole, redditToken } = require('../config.json');
+
var snoowrap = require('snoowrap');
const r = new snoowrap({
userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0',