sfw handhold flag

master
Kit Kasune 2 years ago
parent b6820bc2cf
commit 4ae03da87a
  1. 6
      commands/social/fuck.js
  2. 0
      slash/fun/nowplaying.js.dev

@ -5,9 +5,12 @@ const UserData = require('../../models/user');
const VC = require('../../models/vscount'); const VC = require('../../models/vscount');
const makeId = require('../../util/makeid'); const makeId = require('../../util/makeid');
const {Tag} = require('../../util/tag');
const {TagFilter} = require('../../util/tagfilter');
module.exports = { module.exports = {
name: "fuck", name: "fuck",
aliases: ['sex', 'bang', 'rail', 'verykindlythank'],
help: "Tell others you're horny with `{{p}}fuck`, or bang someone by mentioning someone to fuck!", help: "Tell others you're horny with `{{p}}fuck`, or bang someone by mentioning someone to fuck!",
meta: { meta: {
category: 'Social', category: 'Social',
@ -29,7 +32,8 @@ module.exports = {
: "You can't bang me....... only Wubzy can." : "You can't bang me....... only Wubzy can."
);} );}
let fuck; let fuck;
if (message.channel.nsfw) { let options = new TagFilter([new Tag(['sfw', 'nonsfw', 'clean'], 'sfw', 'toggle')]).test(args.join(" "));
if (message.channel.nsfw && !options.sfw) {
fuck = await VC.findOne({uid: message.author.id, countOf: 'realfuck'}) || new VC({uid: message.author.id, countOf: 'realfuck'}); fuck = await VC.findOne({uid: message.author.id, countOf: 'realfuck'}) || new VC({uid: message.author.id, countOf: 'realfuck'});
savess = await Saves.findOne({name: 'realfuck'}) || new Saves({name: 'realfuck'}); savess = await Saves.findOne({name: 'realfuck'}) || new Saves({name: 'realfuck'});
saves = savess.saves; saves = savess.saves;

Loading…
Cancel
Save