returnmessage.reply(`${message.guild.members.cache.get(person.id).displayName} is no${['a','add'].includes(args[0])?'w':' longer'} a Support Team member!`);
returnmessage.reply(`${message.guild.members.cache.get(person.id).displayName} is no${['a','add'].includes(args[0])?'w':' longer'} a Support Team member!`);
if(!client.developers.includes(message.author.id)&&!['check','c','view','v'].includes(args[0])){returnmessage.reply("Unfortunately, this is a **developer-only command**!");}
if(!client.developers.includes(message.author.id)&&!['check','c','view','v'].includes(args[0])){returnmessage.reply("Unfortunately, this is a **developer-only command**!");}
constGuildSettings=require('../../models/guild');
constGuildSettings=require('../../models/guild');
constlogemb=(act)=>newDiscord.MessageEmbed()
constlogemb=(act)=>newDiscord.MessageEmbed()
.setAuthor(`VIP Server ${act}`,message.author.avatarURL())
.setAuthor({name:`VIP Server ${act}`,iconURL:message.author.avatarURL()})
.setDescription("A Server's VIP status was updated.")
.setDescription("A Server's VIP status was updated.")
.setDescription(`${text}${dns?`\n\n_Their name is in your deathnote **${dns.against[mention.id]===1?'once':`${dns.against[mention.id]} times`}.**_`:''}`)
.setDescription(`${text}${dns?`\n\n_Their name is in your deathnote **${dns.against[mention.id]===1?'once':`${dns.against[mention.id]} times`}.**_`:''}`)
.setColor('c375f0')
.setColor('c375f0')
.setFooter(`Natsuki${dns?` | ${dns.total} name${dns.total===1?' has been':'s'} written in your deathnote!`:''}`)
.setFooter({text:`Natsuki${dns?` | ${dns.total} name${dns.total===1?' has been':'s'} written in your deathnote!`:''}`})
.setDescription(`Your server now has its leveling system enabled! If you enabled level up messages, you can set the channel for that using \`${prefix}levelchannel\`.`)//TODO update this with info on how the shiz works
.setDescription(`Your server now has its leveling system enabled! If you enabled level up messages, you can set the channel for that using \`${prefix}levelchannel\`.`)//TODO update this with info on how the shiz works
if(client.emojis.cache.has(spl[2].slice(0,spl[2].length-1))&&client.emojis.cache.get(spl[2].slice(0,spl[2].length-1)).guild.members.cache.has(message.author.id)&&client.emojis.cache.get(spl[2].slice(0,spl[2].length-1)).guild.id!==(message.guild?message.guild.id:1)){finEm.addField("Server",`You're in the server this emoji is from: **${client.emojis.cache.get(spl[2].slice(0,spl[2].length-1)).guild.name}**`);}
if(client.emojis.cache.has(spl[2].slice(0,spl[2].length-1))&&client.emojis.cache.get(spl[2].slice(0,spl[2].length-1)).guild.members.cache.has(message.author.id)&&client.emojis.cache.get(spl[2].slice(0,spl[2].length-1)).guild.id!==(message.guild?message.guild.id:1)){finEm.addField("Server",`You're in the server this emoji is from: **${client.emojis.cache.get(spl[2].slice(0,spl[2].length-1)).guild.name}**`);}
@ -63,7 +63,7 @@ module.exports = {
.setTitle(`Emoji Lookup Results [${(x*20)+1}-${(x*20)+20} of ${lookup.size}]`)
.setTitle(`Emoji Lookup Results [${(x*20)+1}-${(x*20)+20} of ${lookup.size}]`)
if(access&&client.emojis.cache.get(id).guild.members.cache.has(message.author.id)&&client.emojis.cache.get(id).guild.id!==(message.guild?message.guild.id:1)){finEm.addField("Server",`You're in the server this emoji is from: **${client.emojis.cache.get(id).guild.name}**`);}
if(access&&client.emojis.cache.get(id).guild.members.cache.has(message.author.id)&&client.emojis.cache.get(id).guild.id!==(message.guild?message.guild.id:1)){finEm.addField("Server",`You're in the server this emoji is from: **${client.emojis.cache.get(id).guild.name}**`);}
letcurrentEmbed=newDiscord.MessageEmbed().setAuthor("Help Menu",message.author.avatarURL()).setTitle(category).setDescription("React to control the menu! You can also specify a command name when doing the help command to get more info about it.").setColor("c375f0");
letcurrentEmbed=newDiscord.MessageEmbed().setAuthor({name: "Help Menu",iconURL:message.author.avatarURL()}).setTitle(category).setDescription("React to control the menu! You can also specify a command name when doing the help command to get more info about it.").setColor("c375f0");
letcommands=Object.keys(sorted[category]);
letcommands=Object.keys(sorted[category]);
letcommand;for(commandofcommands){
letcommand;for(commandofcommands){
letaliases='';
letaliases='';
@ -29,7 +29,7 @@ module.exports = {
if(current===5){
if(current===5){
categorySorted.push(currentEmbed);
categorySorted.push(currentEmbed);
current=1;
current=1;
currentEmbed=newDiscord.MessageEmbed().setAuthor("Help Menu",message.author.avatarURL()).setTitle(category).setDescription("React to control the menu! You can also specify a command name when doing the help command to get more info about it.").setColor("c375f0");
currentEmbed=newDiscord.MessageEmbed().setAuthor({name: "Help Menu",iconURL:message.author.avatarURL()}).setTitle(category).setDescription("React to control the menu! You can also specify a command name when doing the help command to get more info about it.").setColor("c375f0");
}
}
}
}
if(current>1){categorySorted.push(currentEmbed);}
if(current>1){categorySorted.push(currentEmbed);}
@ -42,7 +42,7 @@ module.exports = {
.setDescription(`Here you can find a list of commands and how to use them.\n\nNatsuki's prefix, by default, is \`n?\`. Here, it's \`${prefix}\`.\n\nWhen viewing a command's syntax, a parameter/argument marked with <> means that it is required. [] shows that it is optional.\n\nGet more help on a command by sending it without any arguments (i.e. \`${prefix}anime\`), or run \`${prefix}help <command>\`.`)
.setDescription(`Here you can find a list of commands and how to use them.\n\nNatsuki's prefix, by default, is \`n?\`. Here, it's \`${prefix}\`.\n\nWhen viewing a command's syntax, a parameter/argument marked with <> means that it is required. [] shows that it is optional.\n\nGet more help on a command by sending it without any arguments (i.e. \`${prefix}anime\`), or run \`${prefix}help <command>\`.`)
.addField("Category","What category would you like to view?\n:one: - Fun\n:two: - Utility\n:three: - Misc\n:four: - Developer\n:five: - Moderation\n:six: - Social\n:seven: - Leveling\n:eight: - Anime\n:nine: - **All**")
.addField("Category","What category would you like to view?\n:one: - Fun\n:two: - Utility\n:three: - Misc\n:four: - Developer\n:five: - Moderation\n:six: - Social\n:seven: - Leveling\n:eight: - Anime\n:nine: - **All**")
.setColor('c375f0')
.setColor('c375f0')
.setFooter("Natsuki | Will time out in 60 seconds.")
.setFooter({text: "Natsuki | Will time out in 60 seconds."})
.setDescription(`I am created by WubzyGD#8766 and Slushie#1234 - a pair conveniently known as NatsukiDev - in JavaScript/Discord.js!\n\nI'm a powerful all-purpose bot with everything you could want or need, and I have my own set of unique skills that you won't find anywhere else ^^`)
.setDescription(`I am created by WubzyGD#8766 and Slushie#1234 - a pair conveniently known as NatsukiDev - in JavaScript/Discord.js!\n\nI'm a powerful all-purpose bot with everything you could want or need, and I have my own set of unique skills that you won't find anywhere else ^^`)
.addField("Presence",`I'm currently in **${client.guilds.cache.size}** servers, and I'm watching over approximately **${client.users.cache.size}** people!`)
.addField("Presence",`I'm currently in **${client.guilds.cache.size}** servers, and I'm watching over approximately **${client.users.cache.size}** people!`)
.setDescription("[Bot Invite](https://discord.com/oauth2/authorize?client_id=762701327431237644&scope=bot&permissions=1581116647)\n`->` Use this link to invite Natsuki to your server! This has all the required permissions in it that the I need to work, and it is not recommended that you change them. Doing so will make it so that some commands don't function properly or won't complete (I'll usually tell you when I'm missing a permission).\n\n[Support Server Invite](https://discord.gg/u9c2uD24wB)\n`->` Use this to join my support server! Here you can talk to the devs, suggest features, hang out with the community, get update alerts, report bugs/issues and get help, or just stop and say hi!")
.setDescription("[Bot Invite](https://discord.com/oauth2/authorize?client_id=762701327431237644&scope=bot&permissions=1581116647)\n`->` Use this link to invite Natsuki to your server! This has all the required permissions in it that the I need to work, and it is not recommended that you change them. Doing so will make it so that some commands don't function properly or won't complete (I'll usually tell you when I'm missing a permission).\n\n[Support Server Invite](https://discord.gg/u9c2uD24wB)\n`->` Use this to join my support server! Here you can talk to the devs, suggest features, hang out with the community, get update alerts, report bugs/issues and get help, or just stop and say hi!")
.addField("Roles",`${message.guild.roles.cache.size} (you have ${message.member.roles.cache.size})\nYour highest is <@&${message.member.roles.highest.id}>`,true)
.addField("Roles",`${message.guild.roles.cache.size} (you have ${message.member.roles.cache.size})\nYour highest is <@&${message.member.roles.highest.id}>`,true)
.addField("Other Info",`Server created roughly **${moment(message.guild.createdAt).fromNow()}**\n\nYou joined ${moment(message.member.joinedAt).fromNow()} (Member for **${Math.round(((now.getTime()-newDate(message.member.joinedAt.getTime()).getTime())/(newDate(message.guild.createdAt).getTime()-now.getTime()))*-100)}%** of server lifetime)`)
.addField("Other Info",`Server created roughly **${moment(message.guild.createdAt).fromNow()}**\n\nYou joined ${moment(message.member.joinedAt).fromNow()} (Member for **${Math.round(((now.getTime()-newDate(message.member.joinedAt.getTime()).getTime())/(newDate(message.guild.createdAt).getTime()-now.getTime()))*-100)}%** of server lifetime)`)
.setDescription("Join the server with [this link](https://discord.gg/u9c2uD24wB)!\n\n`->` Here you can talk to the devs, suggest features, hang out with the community, get update alerts, report bugs/issues and get help, or just stop and say hi!")
.setDescription("Join the server with [this link](https://discord.gg/u9c2uD24wB)!\n\n`->` Here you can talk to the devs, suggest features, hang out with the community, get update alerts, report bugs/issues and get help, or just stop and say hi!")
.setDescription(`This server's leave-notifying settings have been altered by ${message.author.tag}.\n\n**Channel**: <#${ch}>\n**Response Name**: \`${args[2].toLowerCase()}\``)
.setDescription(`This server's leave-notifying settings have been altered by ${message.author.tag}.\n\n**Channel**: <#${ch}>\n**Response Name**: \`${args[2].toLowerCase()}\``)
.addField('Role-Holders',`${message.guild.members.cache.filter(m=>m.roles.cache.has(tguild.staffrole)&&!client.users.cache.get(m.id).bot).size}+ members have this role`,true)
.addField('Role-Holders',`${message.guild.members.cache.filter(m=>m.roles.cache.has(tguild.staffrole)&&!client.users.cache.get(m.id).bot).size}+ members have this role`,true)
.setDescription(`This server's member-welcoming settings have been altered by ${message.author.tag}.\n\n**Channel**: <#${ch}>\n**Response Name**: \`${args[2].toLowerCase()}\``)
.setDescription(`This server's member-welcoming settings have been altered by ${message.author.tag}.\n\n**Channel**: <#${ch}>\n**Response Name**: \`${args[2].toLowerCase()}\``)
.setAuthor(`${message.guild?message.member.displayName:message.author.username} gives a massive creampie to ${message.guild.members.cache.get(mention.id).displayName}..Tasty!`,message.author.avatarURL())
.setAuthor({name:`${message.guild?message.member.displayName:message.author.username} gives a massive creampie to ${message.guild.members.cache.get(mention.id).displayName}..Tasty!`,iconURL:message.author.avatarURL()})
.setAuthor(`${message.guild?message.member.displayName:message.author.username} gives ${message.guild.members.cache.get(mention.id).displayName} a hug!`,message.author.avatarURL())
.setAuthor({name:`${message.guild?message.member.displayName:message.author.username} gives ${message.guild.members.cache.get(mention.id).displayName} a hug!`,iconURL:message.author.avatarURL()})
.setDescription(`You've hugged them **${hugs.against[mention.id]===1?'once':`${hugs.against[mention.id]} times!`}**`)
.setDescription(`You've hugged them **${hugs.against[mention.id]===1?'once':`${hugs.against[mention.id]} times!`}**`)
.setAuthor(`${message.guild?message.member.displayName:message.author.username} pats ${message.guild.members.cache.get(mention.id).displayName}!`,message.author.avatarURL())
.setAuthor({name:`${message.guild?message.member.displayName:message.author.username} pats ${message.guild.members.cache.get(mention.id).displayName}!`,iconURL:message.author.avatarURL()})
.setDescription(`You've given them **${pats.against[mention.id]}** pat${pats.against[mention.id]===1?'':'s'}!`)
.setDescription(`You've given them **${pats.against[mention.id]}** pat${pats.against[mention.id]===1?'':'s'}!`)
.setAuthor(`${message.guild?message.member.displayName:message.author.username} falls madly in love with ${message.guild.members.cache.get(mention.id).displayName}..what a simp.`,message.author.avatarURL())
.setAuthor({name:`${message.guild?message.member.displayName:message.author.username} falls madly in love with ${message.guild.members.cache.get(mention.id).displayName}..what a simp.`,iconURL:message.author.avatarURL()})
.setAuthor(`${message.guild?message.member.displayName:message.author.username} gives ${message.guild.members.cache.get(mention.id).displayName} a spank!`,message.author.avatarURL())
.setAuthor({name:`${message.guild?message.member.displayName:message.author.username} gives ${message.guild.members.cache.get(mention.id).displayName} a spank!`,iconURL:message.author.avatarURL()})
.setDescription(`You've spanked them **${spanks.against[mention.id]===1?'once':`${spanks.against[mention.id]} times!`}**`)
.setDescription(`You've spanked them **${spanks.against[mention.id]===1?'once':`${spanks.against[mention.id]} times!`}**`)
.setAuthor(`${message.guild?message.member.displayName:message.author.username} winks at ${message.guild.members.cache.get(mention.id).displayName}!`,message.author.avatarURL())
.setAuthor({name:`${message.guild?message.member.displayName:message.author.username} winks at ${message.guild.members.cache.get(mention.id).displayName}!`,iconURL:message.author.avatarURL()})
]}).then(()=>require('../../util/ask')(message,"If you'd like to rename the emoji, send the name now. Otherwise, wait 30 seconds and nothing will happen.",30000,false,false)
]}).then(()=>require('../../util/ask')(message,"If you'd like to rename the emoji, send the name now. Otherwise, wait 30 seconds and nothing will happen.",30000,false,false)
.setDescription(`You now have **${Object.keys(td.lists).length}** lists (including your personal list) with a total of **${totalItems} items**.`)
.setDescription(`You now have **${Object.keys(td.lists).length}** lists (including your personal list) with a total of **${totalItems} items**.`)
.addField("Managing",`-To add to your new list, use \`${prefix}todo list ${ln} add\`.\n-To view its items, use \`${prefix}todo list ${ln} view\`.\n-To delete this list, use \`${prefix}todo list delete ${ln}\`.`)
.addField("Managing",`-To add to your new list, use \`${prefix}todo list ${ln} add\`.\n-To view its items, use \`${prefix}todo list ${ln} view\`.\n-To delete this list, use \`${prefix}todo list delete ${ln}\`.`)
.setDescription(`In ${list==='quick'?"your personal quick list":`list \`${list}\``}\n- ${items.join('\n- ')}`)
.setDescription(`In ${list==='quick'?"your personal quick list":`list \`${list}\``}\n- ${items.join('\n- ')}`)
.setColor('c375f0');
.setColor('c375f0');
if(reachedMax){resembed.addField("Notice","The list addition process was automatically stopped because your list reached the maximum limit of 25 items.");}
if(reachedMax){resembed.addField("Notice","The list addition process was automatically stopped because your list reached the maximum limit of 25 items.");}
.setDescription(`Sent by ${reaction.message.member.displayName} (<@${reaction.message.author.id}>) || Channel: ${reaction.message.channel.name} (<#${reaction.message.channel.id}>)\n[Jump to Message](${reaction.message.url})`)
.setDescription(`Sent by ${reaction.message.member.displayName} (<@${reaction.message.author.id}>) || Channel: ${reaction.message.channel.name} (<#${reaction.message.channel.id}>)\n[Jump to Message](${reaction.message.url})`)
/*Neutral Responses */,"Maybe","I'm not sure","I'll think about it","Uhh Natsuki isn't here right now. I can take a message?","I'm sure if you look deep within your heart, which is currently all over that tree, you'll find the answer","I mean, if you think so...","I don't have an opinion on that.","I'll choose to remain silent."
/*Neutral Responses */,"Maybe","I'm not sure","I'll think about it","Uhh Natsuki isn't here right now. I can take a message?","I'm sure if you look deep within your heart, which is currently all over that tree, you'll find the answer","I mean, if you think so...","I don't have an opinion on that.","I'll choose to remain silent."
.setDescription(`That user ${tu.statustype==='dnd'?'wishes not to be disturbed':'is AFK'}. Reason: ${tu.statusmsg}.${tu.statussetat?`\n\n(This status was set ${moment(tu.statussetat.getTime()).fromNow()})`:''}`)
.setDescription(`That user ${tu.statustype==='dnd'?'wishes not to be disturbed':'is AFK'}. Reason: ${tu.statusmsg}.${tu.statussetat?`\n\n(This status was set ${moment(tu.statussetat.getTime()).fromNow()})`:''}`)