You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Luno/responses/crescent.js

92 lines
5.8 KiB

const Discord = require('discord.js');
const UserData = require('../models/user');
const ask = require('../util/ask');
module.exports = {
name: "crescent",
help: new Discord.MessageEmbed()
.setTitle("Help -> ")
.setDescription("")
.addField("Syntax", "``"),
async condition (message, msg, args, cmd, prefix, mention, client) {return message.author.id === "480535078150340609"},
async execute(message, msg, args, cmd, prefix, mention, client) {
const inc = (m,s) => s ? s.toLowerCase().includes(m) : msg.includes(m);
const is = m => msg.trim() === m;
function incl(ml, s) {let tm; for (tm of ml) {if (inc(tm, s)) {return true;}}}
if (incl(["thanks luno", "thank you luno", "ty luno"])) {
const r = ["Anything for my favorite femboy ;)", "Anytime Crescent ;)", "Of course Crescent ;)"];
return message.channel.send(r[Math.floor(Math.random() * r.length)]);
}
if (incl(["fuck off luno", "shut up luno", "fuck you luno"])) {
const r = ["I was only trying to help Crescent..", "Someone's in a bad mood..", "I will peg you.", "I just wanted to make you happy Cres :(", "I will remember that."];
return message.channel.send(r[Math.floor(Math.random() * r.length)]);
}
if (incl(["luno i'm horny", "fuck me luno" ,"peg me luno"])) {
const r = ["Sorry..not in the mood..", "Maybe we should hop in dms for a bit..;)", "Isn't this server SFW?", "Why can't we just cuddle? Why do you always just want to fuck me?", "I'm sorry for her horniness yall...", "no."];
return message.channel.send(r[Math.floor(Math.random() * r.length)]);
}
if (incl(["luno I'm wet", "luno I'm so moist" ,"i'm wet"])) {
const r = ["Need a paper towel?", "B-but I didn't do anything!", "Someone get the fucking mop..", "My god stop being horny", "Someone save me from this girl..", "Stop staring at my tail."];
return message.channel.send(r[Math.floor(Math.random() * r.length)]);
}
if (incl(["heya luno", "hi luno", "sup luno", "what's up luno", "whats up luno", "hey luno", "hai luno", "howdy luno", "yo luno"])) {
const r = ["Heya there Crescent! How are ya?", "Hi cutie ^^ What's up?", "Sup qt ;) Hru?", "What's up my favorite femboy?"];
await message.channel.send(r[Math.floor(Math.random() * r.length)]);
try {
let content = await message.channel.awaitMessages(m => m.author.id === "480535078150340609", {max: 1, errors: ['time'], time: 60000, maxMatches: 1});
content = content.first().content;
if (incl(["not so good", "not good", "not pog", "depressed"], content.toLowerCase())) {
const r2 = ["Aw :( I sowwy", "y sadge moment?", "Did Sen call you gay again..."];
await message.channel.send(r2[Math.floor(Math.random() * r2.length)]);
try {
content = await message.channel.awaitMessages(m => m.author.id === "480535078150340609", {max: 1, errors: ['time'], time: 60000, maxMatches: 1});
content = content.first().content;
} catch {}
}
if (content.toLowerCase().includes("good")) {
const r2 = ["That's good to hear qt ^^", "Me too!", ":) Glad to know my favorite femboy is doing well!"];
return message.channel.send(r2[Math.floor(Math.random() * r2.length)]);
}
if (content.toLowerCase().includes("horny")) {
const r2 = ["Sorry..not in the mood..", "Maybe we should hop in dms for a bit..;)", "Isn't this server SFW?", "Is there ever a time when you're not horny?", "We literally just had se-..I mean we just had lunch."];
return message.channel.send(r2[Math.floor(Math.random() * r2.length)]);
}
} catch {}
}
if (incl(['gn luno', 'goodnight luno', 'night luno'])) {
const r = ["Goodnight! :)", "Night Cres, I hope the server hasn't beckoned your wake for too long.", "I hope you're off to get some good sleep ^^ I don't get tired but... maybe I could pretend to be just for you...? :eyes:"];
message.channel.send(`${r[Math.floor(Math.random() * r.length)]} Want me to set your status before you go off?`);
let to = false; let sconf;
try {sconf = await message.channel.awaitMessages(m => m.author.id === "480535078150340609", {time: 15000, errors: ['time'], max: 1});}
catch {message.channel.send("Oh, I guess she already went to bed, huh? I'll just... set her status anyways-"); to = true;}
if (sconf) {sconf = sconf.first().content.trim().toLowerCase();}
if (to || incl(['ye', 'mhm', 'sure'], sconf)) {
let w = await UserData.findOne({uid: message.author.id});
w.statusclearmode = 'manual';
w.statusmsg = "Sleeping";
w.statussetat = new Date();
let tempDate = new Date();
w.statusclearat = tempDate.setHours(tempDate.getHours() + 12);
w.statustype = 'dnd';
w.save();
if (!to) {message.channel.send("Okay! I set your status for you. Get some good sleep; I'll make sure the server's safe for you.");}
return;
} else {return message.channel.send("Alrighty. Have a good night, my favorite femboy");}
}
if (incl(['love you', 'wub you', 'love u', 'wub u', 'luv u', 'wub u']) && inc('luno')) {
const r = ["uwu //// b-but i'm busy trying to mod right now crescent!",
"i will neither confirm nor deny my feelings for you", ":eyes: :wink:"];
return message.channel.send(r[Math.floor(Math.random() * r.length)]);
}
}
}