not even gonna explain

master
Kit Kasune 3 years ago
parent 2562a9c71f
commit e96bcf6fec
  1. 29
      .idea/workspace.xml
  2. 22
      commands/social/fuck.js
  3. 2
      events/guildMemberRemove.js

@ -5,11 +5,11 @@
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="826c705b-a7fa-4ece-b82a-e278fca7d494" name="Changes" comment=""> <list default="true" id="826c705b-a7fa-4ece-b82a-e278fca7d494" name="Changes" comment="">
<change beforePath="$PROJECT_DIR$/.idea/discord.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/discord.xml" afterDir="false" /> <change afterPath="$PROJECT_DIR$/slash/userinfo.js.dev" afterDir="false" />
<change afterPath="$PROJECT_DIR$/slashtemplate.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/commands/anime/anime.js" beforeDir="false" afterPath="$PROJECT_DIR$/commands/anime/anime.js" afterDir="false" /> <change beforePath="$PROJECT_DIR$/commands/social/fuck.js" beforeDir="false" afterPath="$PROJECT_DIR$/commands/social/fuck.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/commands/anime/char.js" beforeDir="false" afterPath="$PROJECT_DIR$/commands/anime/char.js" afterDir="false" /> <change beforePath="$PROJECT_DIR$/events/guildMemberRemove.js" beforeDir="false" afterPath="$PROJECT_DIR$/events/guildMemberRemove.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/util/anime/anisearch.js" beforeDir="false" afterPath="$PROJECT_DIR$/util/anime/anisearch.js" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -31,11 +31,15 @@
<option name="stateVersion" value="1" /> <option name="stateVersion" value="1" />
</component> </component>
<component name="ProjectId" id="1wWIAa3TuwhYwX0w4tzIs42s0ZG" /> <component name="ProjectId" id="1wWIAa3TuwhYwX0w4tzIs42s0ZG" />
<component name="ProjectLevelVcsManager">
<ConfirmationsSetting value="2" id="Add" />
</component>
<component name="ProjectViewState"> <component name="ProjectViewState">
<option name="hideEmptyMiddlePackages" value="true" /> <option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" /> <option name="showLibraryContents" value="true" />
</component> </component>
<component name="PropertiesComponent"> <component name="PropertiesComponent">
<property name="ASKED_ADD_EXTERNAL_FILES" value="true" />
<property name="NEW_TOOLWINDOW_STRIPE_DEFAULTS" value="true" /> <property name="NEW_TOOLWINDOW_STRIPE_DEFAULTS" value="true" />
<property name="RunOnceActivity.OpenProjectViewOnStart" value="true" /> <property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
<property name="RunOnceActivity.ShowReadmeOnStart" value="true" /> <property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
@ -76,10 +80,27 @@
<workItem from="1640123242717" duration="910000" /> <workItem from="1640123242717" duration="910000" />
<workItem from="1640124257973" duration="3978000" /> <workItem from="1640124257973" duration="3978000" />
<workItem from="1640131913922" duration="1135000" /> <workItem from="1640131913922" duration="1135000" />
<workItem from="1640142319793" duration="749000" />
<workItem from="1640147904557" duration="718000" />
</task> </task>
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
<option name="version" value="3" /> <option name="version" value="3" />
</component> </component>
<component name="Vcs.Log.Tabs.Properties">
<option name="TAB_STATES">
<map>
<entry key="MAIN">
<value>
<State />
</value>
</entry>
</map>
</option>
<option name="oldMeFiltersMigrated" value="true" />
</component>
<component name="VcsManagerConfiguration">
<option name="ADD_EXTERNAL_FILES_SILENTLY" value="true" />
</component>
</project> </project>

@ -16,8 +16,8 @@ module.exports = {
extra: null extra: null
}, },
async execute(message, msg, args, cmd, prefix, mention, client) { async execute(message, msg, args, cmd, prefix, mention, client) {
let savess = await Saves.findOne({name: 'fuck'}) ? await Saves.findOne({name: 'fuck'}) : new Saves({name: 'fuck'}); let savess;
let saves = savess.saves; let saves;
if (!args.length) { if (!args.length) {
return message.channel.send(message.guild ? {embeds: [new Discord.MessageEmbed() return message.channel.send(message.guild ? {embeds: [new Discord.MessageEmbed()
.setTitle(`${message.guild ? message.member.displayName : message.author.username} is horny!`) .setTitle(`${message.guild ? message.member.displayName : message.author.username} is horny!`)
@ -26,13 +26,23 @@ module.exports = {
.setColor('dda0dd') .setColor('dda0dd')
.setFooter('Luno', client.user.avatarURL()) .setFooter('Luno', client.user.avatarURL())
.setTimestamp()]} .setTimestamp()]}
: "You can't bang me.......only Crescent can." : "You can't bang me.......only Wubzy can."
);} );}
if (mention && args[0].match(/^<@(?:!?)(?:\d+)>$/)) { if (mention && args[0].match(/^<@!?\d+>$/)) {
if (!message.guild) {return message.reply("Can't bang someone that doesn't exist.");} if (!message.guild) {return message.reply("Can't bang someone that doesn't exist.");}
if (!message.guild.members.cache.has(mention.id)) {return message.reply("They ran away from you..I wonder why.");} if (!message.guild.members.cache.has(mention.id)) {return message.reply("They ran away from you..I wonder why.");}
if (message.author.id === mention.id) {return message.reply("Go fuck yourself..oh wait you can't.");} if (message.author.id === mention.id) {return message.reply("Go fuck yourself..oh wait you can't.");}
let fuck = await VC.findOne({uid: message.author.id, countOf: 'fuck'}) || new VC({uid: message.author.id, countOf: 'fuck'});
let fuck;
if (message.channel.nsfw) {
fuck = await VC.findOne({uid: message.author.id, countOf: 'realfuck'}) || new VC({uid: message.author.id, countOf: 'realfuck'});
savess = await Saves.findOne({name: 'realfuck'}) ? await Saves.findOne({name: 'realfuck'}) : new Saves({name: 'realfuck'});
saves = savess.saves;
} else {
fuck = await VC.findOne({uid: message.author.id, countOf: 'fuck'}) || new VC({uid: message.author.id, countOf: 'fuck'});
savess = await Saves.findOne({name: 'fuck'}) ? await Saves.findOne({name: 'fuck'}) : new Saves({name: 'fuck'});
saves = savess.saves;
}
fuck.against[mention.id] = fuck.against[mention.id] ? fuck.against[mention.id] + 1 : 1; fuck.against[mention.id] = fuck.against[mention.id] ? fuck.against[mention.id] + 1 : 1;
fuck.total++; fuck.total++;
fuck.markModified(`against.${mention.id}`); fuck.markModified(`against.${mention.id}`);
@ -56,7 +66,7 @@ module.exports = {
saves.set(id, args.join(" ").trim()); saves.set(id, args.join(" ").trim());
savess.saves = saves; savess.saves = saves;
savess.save(); savess.save();
return message.channel.send("Save added!.....master.."); return message.channel.send("Save added!");
} }
} }
}; };

@ -11,6 +11,6 @@ module.exports = async (client, member) => {
&& member.guild.channels.cache.get(tg.lch).permissionsFor(client.user.id).has("SEND_MESSAGES") && member.guild.channels.cache.get(tg.lch).permissionsFor(client.user.id).has("SEND_MESSAGES")
&& !client.users.cache.get(member.id).bot && !client.users.cache.get(member.id).bot
) { ) {
try {member.guild.channels.cache.get(tg.lch).send(await sendResponse(member, member.guild.channels.cache.get(tg.lch), 'xdlol', client, tr.responses.get(tr.bindings.get('leave'))));} catch {} try {member.guild.channels.cache.get(tg.lch).send(await sendResponse(member, member.guild.channels.cache.get(tg.lch).catch(() => {}), 'xdlol', client, tr.responses.get(tr.bindings.get('leave')))).catch(() => {});} catch {}
} }
}; };
Loading…
Cancel
Save