master
Kit Kasune 3 years ago
parent 98fe91b9d0
commit e37c6aeb27
  1. 4
      events/message.js
  2. 2
      responses/crescent.js

@ -9,7 +9,7 @@ const LXP = require('../models/localxp');
module.exports = async (client, message) => { module.exports = async (client, message) => {
if (message.author.bot) {return undefined;} if (message.author.bot) {return undefined;}
if (message.channel.type !== 'text' && message.channel.type !== 'dm') {return undefined;} if (message.channel.type !== 'text' && message.channel.type !== 'dm' && message.channel.type !== "news") {return undefined;}
//if (message.channel.type == "text") {if (settings[message.guild.id]) {prefix = settings[message.guild.id].prefix;};}; //if (message.channel.type == "text") {if (settings[message.guild.id]) {prefix = settings[message.guild.id].prefix;};};
@ -65,7 +65,7 @@ module.exports = async (client, message) => {
}); });
} }
if (message.guild && message.channel.id === "815709333107114043") {return require('../util/newpartner.js')(message, client);} if (message.guild && message.channel.id === "815709333107114043") {console.log('ok'); return require('../util/newpartner.js')(message, client);}

@ -17,7 +17,7 @@ module.exports = {
function incl(ml, s) {let tm; for (tm of ml) {if (inc(tm, s)) {return true;}}} 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"])) { if (incl(["thanks luno", "thank you luno", "ty luno"])) {
const r = ["Anything for my favorite femboy ;)", "Anytime Crescent ;)", "Gee I sure hope I'm not stealing your love for ang... or do I?"]; const r = ["Anything for my favorite femboy ;)", "Anytime Crescent ;)"];
return message.channel.send(r[Math.floor(Math.random() * r.length)]); return message.channel.send(r[Math.floor(Math.random() * r.length)]);
} }

Loading…
Cancel
Save