discord.js devs lost some cool points for this one

master
Kit Kasune 3 years ago
parent 16da9cb92b
commit eb39a3d4db
  1. 4
      commands/anime/anime.js
  2. 24
      commands/anime/char.js
  3. 8
      commands/anime/charimage.js
  4. 2
      commands/anime/charlb.js
  5. 4
      commands/anime/lovechar.js
  6. 4
      commands/anime/watched.js
  7. 4
      commands/dev/admin.js
  8. 4
      commands/dev/developer.js
  9. 2
      commands/dev/eval.js
  10. 4
      commands/dev/execute.js
  11. 4
      commands/dev/staff.js
  12. 4
      commands/dev/support.js
  13. 4
      commands/dev/vip.js
  14. 4
      commands/fun/8ball.js
  15. 2
      commands/fun/bite.js
  16. 6
      commands/fun/deathnote.js
  17. 2
      commands/fun/nowplaying.js
  18. 4
      commands/fun/secretsanta.js
  19. 4
      commands/fun/slap.js
  20. 2
      commands/leveling/leaderboard.js
  21. 2
      commands/leveling/levelrole.js
  22. 2
      commands/leveling/setupleveling.js
  23. 2
      commands/leveling/stats.js
  24. 2
      commands/misc/ar.js
  25. 2
      commands/misc/commands.js
  26. 8
      commands/misc/emoji.js
  27. 10
      commands/misc/help.js
  28. 4
      commands/misc/info.js
  29. 2
      commands/misc/invite.js
  30. 4
      commands/misc/prefix.js
  31. 4
      commands/misc/serverinfo.js
  32. 2
      commands/misc/supportserver.js
  33. 2
      commands/misc/uptime.js
  34. 2
      commands/misc/userinfo.js
  35. 2
      commands/moderation/autorole.js
  36. 2
      commands/moderation/checkwarnings.js
  37. 4
      commands/moderation/leave.js
  38. 2
      commands/moderation/response.js
  39. 4
      commands/moderation/staffrole.js
  40. 2
      commands/moderation/warn.js
  41. 4
      commands/moderation/welcome.js
  42. 4
      commands/social/bio.js
  43. 6
      commands/social/bonk.js
  44. 4
      commands/social/creampie.js
  45. 4
      commands/social/feed.js
  46. 6
      commands/social/fuck.js
  47. 4
      commands/social/handhold.js
  48. 4
      commands/social/heal.js
  49. 6
      commands/social/hug.js
  50. 4
      commands/social/kill.js
  51. 4
      commands/social/kiss.js
  52. 6
      commands/social/pat.js
  53. 4
      commands/social/simp.js
  54. 4
      commands/social/spank.js
  55. 4
      commands/social/wink.js
  56. 4
      commands/utility/coinflip.js
  57. 2
      commands/utility/monitor.js
  58. 2
      commands/utility/randnum.js
  59. 10
      commands/utility/robemote.js
  60. 28
      commands/utility/todo.js
  61. 2
      events/channelCreate.js
  62. 2
      events/channelDelete.js
  63. 4
      events/guildCreate.js
  64. 4
      events/guildDelete.js
  65. 2
      events/messageDelete.js
  66. 2
      events/messageReactionAdd.js
  67. 2
      events/messageUpdate.js
  68. 4
      events/voiceStateUpdate.js
  69. 4
      slash/8ball.js
  70. 2
      slash/userinfo.js.dev
  71. 4
      util/anime/anisearch.js
  72. 4
      util/anime/charsearch.js
  73. 2
      util/mention.js
  74. 4
      util/pagination.js
  75. 4
      util/ts/pagination.ts

@ -158,7 +158,7 @@ module.exports = {
.addField('Other', `**Genre(s):** ${foptions.genres}\n**Tags:** ${foptions.tags}\n**Characters:** ${foptions.characters}\n**Stream this at:** ${foptions.streamAt}`) .addField('Other', `**Genre(s):** ${foptions.genres}\n**Tags:** ${foptions.tags}\n**Characters:** ${foptions.characters}\n**Stream this at:** ${foptions.streamAt}`)
.setColor("c375f0") .setColor("c375f0")
.setImage(options.thumbnail) .setImage(options.thumbnail)
.setFooter('Natsuki', client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp(); .setTimestamp();
try { try {
am = await dmch.send({embeds: [amEmbed]}); am = await dmch.send({embeds: [amEmbed]});
@ -177,7 +177,7 @@ module.exports = {
client.misc.cache.animeID.set(options.id, options.name); client.misc.cache.animeID.set(options.id, options.name);
} }
else {amEmbed.addField("ID", options.id);} else {amEmbed.addField("ID", options.id);}
amEmbed.setAuthor(!queue ? "Anime Added" : "Anime Submitted", message.author.avatarURL()); amEmbed.setAuthor({name: !queue ? "Anime Added" : "Anime Submitted", iconURL: message.author.avatarURL()});
client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({embeds: [amEmbed]})); client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({embeds: [amEmbed]}));
if (!queue) {options.queued = false;} if (!queue) {options.queued = false;}
await new AniData(options).save(); await new AniData(options).save();

@ -151,7 +151,7 @@ module.exports = {
.addField('Other', `**Anime**: ${forceAni ? options.anime : `${aniData.name} | ${aniData.japname} | \`${aniData.id}\``}\n\n**Gender**: ${options.gender}\n`) .addField('Other', `**Anime**: ${forceAni ? options.anime : `${aniData.name} | ${aniData.japname} | \`${aniData.id}\``}\n\n**Gender**: ${options.gender}\n`)
.setColor("c375f0") .setColor("c375f0")
.setImage(options.thumbnail) .setImage(options.thumbnail)
.setFooter('Natsuki', client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp(); .setTimestamp();
try { try {
am = await dmch.send({embeds: [amEmbed]}); am = await dmch.send({embeds: [amEmbed]});
@ -169,7 +169,7 @@ module.exports = {
client.misc.cache.charsID.set(options.id, options.name); client.misc.cache.charsID.set(options.id, options.name);
} }
else {amEmbed.addField("ID", options.id);} else {amEmbed.addField("ID", options.id);}
amEmbed.setAuthor(!queue ? "Character Added" : "Character Submitted", message.author.avatarURL()); amEmbed.setAuthor({name: !queue ? "Character Added" : "Character Submitted", iconURL: message.author.avatarURL()});
if (!queue) {options.queued = false;} if (!queue) {options.queued = false;}
await new Char(options).save(); await new Char(options).save();
if (aniData) { if (aniData) {
@ -292,10 +292,10 @@ module.exports = {
let n = mention ? message.guild ? message.mentions.members.first().displayName : message.mentions.users.first().username : message.guild ? message.member.displayName : message.author.username; let n = mention ? message.guild ? message.mentions.members.first().displayName : message.mentions.users.first().username : message.guild ? message.member.displayName : message.author.username;
return message.channel.send({embeds: [ return message.channel.send({embeds: [
new Discord.MessageEmbed() new Discord.MessageEmbed()
.setAuthor(`${n}${n.endsWith('s') ? '' : "'s"} Favorited Characters`, mention ? mention.avatarURL() : message.author.avatarURL()) .setAuthor({name: `${n}${n.endsWith('s') ? '' : "'s"} Favorited Characters`, iconURL: mention ? mention.avatarURL() : message.author.avatarURL()})
.setDescription(`**${chars.length} character${chars.length === 1 ? '': 's'} favorited**\n\n${chars.join(", ")}`) .setDescription(`**${chars.length} character${chars.length === 1 ? '': 's'} favorited**\n\n${chars.join(", ")}`)
.setColor('c375f0') .setColor('c375f0')
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
.setTimestamp() .setTimestamp()
]}); ]});
} }
@ -377,14 +377,14 @@ module.exports = {
client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({ client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({
embeds: [ embeds: [
new Discord.MessageEmbed() new Discord.MessageEmbed()
.setAuthor(message.author.username, message.author.avatarURL()) .setAuthor({name: message.author.username, iconURL: message.author.avatarURL()})
.setTitle(`New Image ${queue ? "Submitted" : "Added"}`) .setTitle(`New Image ${queue ? "Submitted" : "Added"}`)
.setDescription(`For **${ch.name}** | \`${ch.id}\` from ${client.misc.cache.animeID.get(ch.anime)}`) .setDescription(`For **${ch.name}** | \`${ch.id}\` from ${client.misc.cache.animeID.get(ch.anime)}`)
.setThumbnail(ch.thumbnail) .setThumbnail(ch.thumbnail)
.setImage(img) .setImage(img)
.setColor('c375f0') .setColor('c375f0')
.setTimestamp() .setTimestamp()
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
], content: queue ? '<@330547934951112705>' : undefined ], content: queue ? '<@330547934951112705>' : undefined
}).catch(() => {})).catch(() => {}); }).catch(() => {})).catch(() => {});
return message.channel.send(`Character image ${queue ? "submitted" : "added"} to **${ch.name}**.`); return message.channel.send(`Character image ${queue ? "submitted" : "added"} to **${ch.name}**.`);
@ -397,14 +397,14 @@ module.exports = {
client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({ client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({
embeds: [ embeds: [
new Discord.MessageEmbed() new Discord.MessageEmbed()
.setAuthor(message.author.username, message.author.avatarURL()) .setAuthor({name: message.author.username, iconURL: message.author.avatarURL()})
.setTitle(`New Images ${queue ? "Submitted" : "Added"}`) .setTitle(`New Images ${queue ? "Submitted" : "Added"}`)
.setDescription(`For **${ch.name}** | \`${ch.id}\` from ${client.misc.cache.animeID.get(ch.anime)}`) .setDescription(`For **${ch.name}** | \`${ch.id}\` from ${client.misc.cache.animeID.get(ch.anime)}`)
.addField("Images", images.map(img => `${img}\n`).join("")) .addField("Images", images.map(img => `${img}\n`).join(""))
.setThumbnail(ch.thumbnail) .setThumbnail(ch.thumbnail)
.setColor('c375f0') .setColor('c375f0')
.setTimestamp() .setTimestamp()
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
], content: queue ? '<@330547934951112705>' : undefined ], content: queue ? '<@330547934951112705>' : undefined
}).catch(() => {})).catch(() => {}); }).catch(() => {})).catch(() => {});
return message.channel.send(`Character images (${images.length}) ${queue ? "submitted" : "added"} to **${ch.name}**.`); return message.channel.send(`Character images (${images.length}) ${queue ? "submitted" : "added"} to **${ch.name}**.`);
@ -453,7 +453,7 @@ module.exports = {
.addField("Loved by", `**${ch.loved}** Natsuki user${ch.loved === 1 ? '' : 's'}!\n\`${prefix}char love ${ch.name}\``) .addField("Loved by", `**${ch.loved}** Natsuki user${ch.loved === 1 ? '' : 's'}!\n\`${prefix}char love ${ch.name}\``)
.setColor("c375f0") .setColor("c375f0")
.setImage(ch.thumbnail) .setImage(ch.thumbnail)
.setFooter('Natsuki', client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp() .setTimestamp()
)); ));
let pag = new Pagination(message.channel, pages, message, client, true); let pag = new Pagination(message.channel, pages, message, client, true);
@ -464,7 +464,7 @@ module.exports = {
.setTitle(`${anime.name}: Characters`) .setTitle(`${anime.name}: Characters`)
.setThumbnail(anime.thumbnail) .setThumbnail(anime.thumbnail)
.setDescription(anime.characters.map(ch => client.misc.cache.charsID.get(ch)).join(", ")) .setDescription(anime.characters.map(ch => client.misc.cache.charsID.get(ch)).join(", "))
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp() .setTimestamp()
]}); ]});
} }
@ -514,14 +514,14 @@ module.exports = {
client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({ client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({
embeds: [ embeds: [
new Discord.MessageEmbed() new Discord.MessageEmbed()
.setAuthor(message.author.username, message.author.avatarURL()) .setAuthor({name: message.author.username, iconURL: message.author.avatarURL()})
.setTitle(`New Character Nickname ${queue ? "Submitted" : "Added"}`) .setTitle(`New Character Nickname ${queue ? "Submitted" : "Added"}`)
.setDescription(`For **${ch.name}** | \`${ch.id}\` from ${client.misc.cache.animeID.get(ch.anime)}`) .setDescription(`For **${ch.name}** | \`${ch.id}\` from ${client.misc.cache.animeID.get(ch.anime)}`)
.addField("Name", nn) .addField("Name", nn)
.setThumbnail(ch.thumbnail) .setThumbnail(ch.thumbnail)
.setColor('c375f0') .setColor('c375f0')
.setTimestamp() .setTimestamp()
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
], content: queue ? '<@330547934951112705>' : undefined ], content: queue ? '<@330547934951112705>' : undefined
}).catch(() => {})).catch(() => {}); }).catch(() => {})).catch(() => {});
return message.channel.send(`Character nickname ${queue ? "submitted" : "added"}.`); return message.channel.send(`Character nickname ${queue ? "submitted" : "added"}.`);

@ -97,14 +97,14 @@ module.exports = {
client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({ client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({
embeds: [ embeds: [
new Discord.MessageEmbed() new Discord.MessageEmbed()
.setAuthor(message.author.username, message.author.avatarURL()) .setAuthor({name: message.author.username, iconURL: message.author.avatarURL()})
.setTitle(`New Image ${queue ? "Submitted" : "Added"}`) .setTitle(`New Image ${queue ? "Submitted" : "Added"}`)
.setDescription(`For **${ch.name}** | \`${ch.id}\` from ${client.misc.cache.animeID.get(ch.anime)}`) .setDescription(`For **${ch.name}** | \`${ch.id}\` from ${client.misc.cache.animeID.get(ch.anime)}`)
.setThumbnail(ch.thumbnail) .setThumbnail(ch.thumbnail)
.setImage(img) .setImage(img)
.setColor('c375f0') .setColor('c375f0')
.setTimestamp() .setTimestamp()
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
], content: queue ? '<@330547934951112705>' : undefined ], content: queue ? '<@330547934951112705>' : undefined
}).catch(() => {})).catch(() => {}); }).catch(() => {})).catch(() => {});
return message.channel.send(`Character image ${queue ? "submitted" : "added"} to **${ch.name}**.`); return message.channel.send(`Character image ${queue ? "submitted" : "added"} to **${ch.name}**.`);
@ -117,14 +117,14 @@ module.exports = {
client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({ client.guilds.fetch('762707532417335296').then(g => g.channels.cache.get('817466729293938698').send({
embeds: [ embeds: [
new Discord.MessageEmbed() new Discord.MessageEmbed()
.setAuthor(message.author.username, message.author.avatarURL()) .setAuthor({name: message.author.username, iconURL: message.author.avatarURL()})
.setTitle(`New Images ${queue ? "Submitted" : "Added"}`) .setTitle(`New Images ${queue ? "Submitted" : "Added"}`)
.setDescription(`For **${ch.name}** | \`${ch.id}\` from ${client.misc.cache.animeID.get(ch.anime)}`) .setDescription(`For **${ch.name}** | \`${ch.id}\` from ${client.misc.cache.animeID.get(ch.anime)}`)
.addField("Images", images.map(img => `${img}\n`).join("")) .addField("Images", images.map(img => `${img}\n`).join(""))
.setThumbnail(ch.thumbnail) .setThumbnail(ch.thumbnail)
.setColor('c375f0') .setColor('c375f0')
.setTimestamp() .setTimestamp()
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
], content: queue ? '<@330547934951112705>' : undefined ], content: queue ? '<@330547934951112705>' : undefined
}).catch(() => {})).catch(() => {}); }).catch(() => {})).catch(() => {});
return message.channel.send(`Character images (${images.length}) ${queue ? "submitted" : "added"} to **${ch.name}**.`); return message.channel.send(`Character images (${images.length}) ${queue ? "submitted" : "added"} to **${ch.name}**.`);

@ -22,7 +22,7 @@ module.exports = {
.map((c, i) => `${i+1}. **${client.misc.cache.charsLove.get(c)} vote${client.misc.cache.charsLove.get(c) === 1 ? '' : 's'}** -> ${client.misc.cache.charsID.get(c)}`) .map((c, i) => `${i+1}. **${client.misc.cache.charsLove.get(c)} vote${client.misc.cache.charsLove.get(c) === 1 ? '' : 's'}** -> ${client.misc.cache.charsID.get(c)}`)
.join('\n') .join('\n')
).setColor('c375f0') ).setColor('c375f0')
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp() .setTimestamp()
]}); ]});
} }

@ -29,10 +29,10 @@ module.exports = {
let n = mention ? message.guild ? message.mentions.members.first().displayName : message.mentions.users.first().username : message.guild ? message.member.displayName : message.author.username; let n = mention ? message.guild ? message.mentions.members.first().displayName : message.mentions.users.first().username : message.guild ? message.member.displayName : message.author.username;
return message.channel.send({embeds: [ return message.channel.send({embeds: [
new Discord.MessageEmbed() new Discord.MessageEmbed()
.setAuthor(`${n}${n.endsWith('s') ? '' : "'s"} Favorited Characters`, mention ? mention.avatarURL() : message.author.avatarURL()) .setAuthor({name: `${n}${n.endsWith('s') ? '' : "'s"} Favorited Characters`, iconURL: mention ? mention.avatarURL() : message.author.avatarURL()})
.setDescription(`**${chars.length} character${chars.length === 1 ? '': 's'} favorited**\n\n${chars.join(", ")}`) .setDescription(`**${chars.length} character${chars.length === 1 ? '': 's'} favorited**\n\n${chars.join(", ")}`)
.setColor('c375f0') .setColor('c375f0')
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
.setTimestamp() .setTimestamp()
]}); ]});
} else { } else {

@ -32,7 +32,7 @@ module.exports = {
s += `**${x + (i * 10) + 1}.** ${client.misc.cache.animeID.get(af.watched[(i * 10) + x])}\n`; s += `**${x + (i * 10) + 1}.** ${client.misc.cache.animeID.get(af.watched[(i * 10) + x])}\n`;
} }
pages.push(new Discord.MessageEmbed() pages.push(new Discord.MessageEmbed()
.setAuthor(message.guild ? message.guild.members.cache.get(user.id).displayName : user.username, message.author.displayAvatarURL({dynamic: true})) .setAuthor({name: message.guild ? message.guild.members.cache.get(user.id).displayName : user.username, iconURL: message.author.displayAvatarURL({dynamic: true})})
.setTitle("Finished Anime List") .setTitle("Finished Anime List")
.setDescription(s) .setDescription(s)
.setColor('c375f0') .setColor('c375f0')
@ -42,7 +42,7 @@ module.exports = {
if (pages.length > 1) { if (pages.length > 1) {
let pag = new Pagination(message.channel, pages, message, client, true); let pag = new Pagination(message.channel, pages, message, client, true);
return await pag.start({user: message.author.id, time: 60000}); return await pag.start({user: message.author.id, time: 60000});
} else {return message.channel.send({embeds: [pages[0].setFooter("Natsuki")]});} } else {return message.channel.send({embeds: [pages[0].setFooter({text: "Natsuki"})]});}
} }
if (!args[0]) { if (!args[0]) {

@ -28,13 +28,13 @@ module.exports = {
else {tu.admin = false; tu.developer = false;} else {tu.admin = false; tu.developer = false;}
tu.save(); tu.save();
const logemb = (act) => new Discord.MessageEmbed() const logemb = (act) => new Discord.MessageEmbed()
.setAuthor(`Admin ${act}`, message.author.avatarURL()) .setAuthor({name: `Admin ${act}`, iconURL: message.author.avatarURL()})
.setDescription("A user's Admin status was updated.") .setDescription("A user's Admin status was updated.")
.setThumbnail(person.avatarURL({size: 1024})) .setThumbnail(person.avatarURL({size: 1024}))
.addField("Name", person.username, true) .addField("Name", person.username, true)
.addField("Developer", message.author.username, true) .addField("Developer", message.author.username, true)
.setColor("e8da3a") .setColor("e8da3a")
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
.setTimestamp(); .setTimestamp();
client.guilds.cache.get('762707532417335296').channels.cache.get('762732961753595915').send({embeds: [logemb(['a', 'add'].includes(args[0]) ? 'Added' : 'Removed')]}); client.guilds.cache.get('762707532417335296').channels.cache.get('762732961753595915').send({embeds: [logemb(['a', 'add'].includes(args[0]) ? 'Added' : 'Removed')]});
return message.reply(`${message.guild.members.cache.get(person.id).displayName} is no${['a', 'add'].includes(args[0]) ? 'w' : ' longer'} an admin!`); return message.reply(`${message.guild.members.cache.get(person.id).displayName} is no${['a', 'add'].includes(args[0]) ? 'w' : ' longer'} an admin!`);

@ -30,13 +30,13 @@ module.exports = {
else {tu.developer = false;} else {tu.developer = false;}
tu.save(); tu.save();
const logemb = (act) => new Discord.MessageEmbed() const logemb = (act) => new Discord.MessageEmbed()
.setAuthor(`Developer ${act}`, message.author.avatarURL()) .setAuthor({name: `Developer ${act}`, iconURL: message.author.avatarURL()})
.setDescription("A user's Developer status was updated.") .setDescription("A user's Developer status was updated.")
.setThumbnail(person.avatarURL({size: 1024})) .setThumbnail(person.avatarURL({size: 1024}))
.addField("Name", person.username, true) .addField("Name", person.username, true)
.addField("Developer", message.author.username, true) .addField("Developer", message.author.username, true)
.setColor("e8da3a") .setColor("e8da3a")
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
.setTimestamp(); .setTimestamp();
client.guilds.cache.get('762707532417335296').channels.cache.get('762732961753595915').send({embeds: [logemb(['a', 'add'].includes(args[0]) ? 'Added' : 'Removed')]}); client.guilds.cache.get('762707532417335296').channels.cache.get('762732961753595915').send({embeds: [logemb(['a', 'add'].includes(args[0]) ? 'Added' : 'Removed')]});
return message.reply(`${message.guild.members.cache.get(person.id).displayName} is no${['a', 'add'].includes(args[0]) ? 'w' : ' longer'} a developer!`); return message.reply(`${message.guild.members.cache.get(person.id).displayName} is no${['a', 'add'].includes(args[0]) ? 'w' : ' longer'} a developer!`);

@ -38,7 +38,7 @@ module.exports = {
.setTitle('Client Evaluation') .setTitle('Client Evaluation')
.setDescription(`\`\`\`js\n${output}\n\`\`\``) .setDescription(`\`\`\`js\n${output}\n\`\`\``)
.setColor('c375f0') .setColor('c375f0')
.setFooter(`Natsuki | Evaluated in ${new Date().getTime() - timer}ms`, client.user.avatarURL()) .setFooter({text: `Natsuki | Evaluated in ${new Date().getTime() - timer}ms`, iconURL: client.user.avatarURL()})
.setTimestamp()]}); .setTimestamp()]});
}).catch(error => {return message.channel.send(`Error: \`${error}\`.`);}); }).catch(error => {return message.channel.send(`Error: \`${error}\`.`);});
} catch (error) { } catch (error) {

@ -22,7 +22,7 @@ module.exports = {
.setTitle("Error") .setTitle("Error")
.setDescription(`\`\`\`${error}\`\`\``) .setDescription(`\`\`\`${error}\`\`\``)
.setColor("ff446a") .setColor("ff446a")
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp()]} .setTimestamp()]}
); );
} }
@ -31,7 +31,7 @@ module.exports = {
.setTitle("Execution Successful") .setTitle("Execution Successful")
.setDescription(`\`\`\`${stdout}\`\`\``) .setDescription(`\`\`\`${stdout}\`\`\``)
.setColor("c375f0") .setColor("c375f0")
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp()]} .setTimestamp()]}
); );
}); });

@ -28,13 +28,13 @@ module.exports = {
else {tu.staff = false; tu.admin = false; tu.developer = false;} else {tu.staff = false; tu.admin = false; tu.developer = false;}
tu.save(); tu.save();
const logemb = (act) => new Discord.MessageEmbed() const logemb = (act) => new Discord.MessageEmbed()
.setAuthor(`Staff ${act}`, message.author.avatarURL()) .setAuthor({name: `Staff ${act}`, iconURL: message.author.avatarURL()})
.setDescription("A user's Staff status was updated.") .setDescription("A user's Staff status was updated.")
.setThumbnail(person.avatarURL({size: 1024})) .setThumbnail(person.avatarURL({size: 1024}))
.addField("Name", person.username, true) .addField("Name", person.username, true)
.addField("Developer", message.author.username, true) .addField("Developer", message.author.username, true)
.setColor("e8da3a") .setColor("e8da3a")
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
.setTimestamp(); .setTimestamp();
client.guilds.cache.get('762707532417335296').channels.cache.get('762732961753595915').send(logemb(['a', 'add'].includes(args[0]) ? 'Added' : 'Removed')); client.guilds.cache.get('762707532417335296').channels.cache.get('762732961753595915').send(logemb(['a', 'add'].includes(args[0]) ? 'Added' : 'Removed'));
return message.reply(`${message.guild.members.cache.get(person.id).displayName} is no${['a', 'add'].includes(args[0]) ? 'w' : ' longer'} a staff member!`); return message.reply(`${message.guild.members.cache.get(person.id).displayName} is no${['a', 'add'].includes(args[0]) ? 'w' : ' longer'} a staff member!`);

@ -28,13 +28,13 @@ module.exports = {
else {tu.support = false; tu.staff = false; tu.admin = false; tu.developer = false;} else {tu.support = false; tu.staff = false; tu.admin = false; tu.developer = false;}
tu.save(); tu.save();
const logemb = (act) => new Discord.MessageEmbed() const logemb = (act) => new Discord.MessageEmbed()
.setAuthor(`Support ${act}`, message.author.avatarURL()) .setAuthor({name: `Support ${act}`, iconURL: message.author.avatarURL()})
.setDescription("A user's Support status was updated.") .setDescription("A user's Support status was updated.")
.setThumbnail(person.avatarURL({size: 1024})) .setThumbnail(person.avatarURL({size: 1024}))
.addField("Name", person.username, true) .addField("Name", person.username, true)
.addField("Developer", message.author.username, true) .addField("Developer", message.author.username, true)
.setColor("e8da3a") .setColor("e8da3a")
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
.setTimestamp(); .setTimestamp();
client.guilds.cache.get('762707532417335296').channels.cache.get('762732961753595915').send({embeds: [logemb(['a', 'add'].includes(args[0]) ? 'Added' : 'Removed')]}); client.guilds.cache.get('762707532417335296').channels.cache.get('762732961753595915').send({embeds: [logemb(['a', 'add'].includes(args[0]) ? 'Added' : 'Removed')]});
return message.reply(`${message.guild.members.cache.get(person.id).displayName} is no${['a', 'add'].includes(args[0]) ? 'w' : ' longer'} a Support Team member!`); return message.reply(`${message.guild.members.cache.get(person.id).displayName} is no${['a', 'add'].includes(args[0]) ? 'w' : ' longer'} a Support Team member!`);

@ -20,13 +20,13 @@ module.exports = {
if (!client.developers.includes(message.author.id) && !['check', 'c', 'view', 'v'].includes(args[0])) {return message.reply("Unfortunately, this is a **developer-only command**!");} if (!client.developers.includes(message.author.id) && !['check', 'c', 'view', 'v'].includes(args[0])) {return message.reply("Unfortunately, this is a **developer-only command**!");}
const GuildSettings = require('../../models/guild'); const GuildSettings = require('../../models/guild');
const logemb = (act) => new Discord.MessageEmbed() const logemb = (act) => new Discord.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.")
.setThumbnail(message.guild.iconURL({size: 1024})) .setThumbnail(message.guild.iconURL({size: 1024}))
.addField("Name", message.guild.name, true) .addField("Name", message.guild.name, true)
.addField("Admin", message.author.username, true) .addField("Admin", message.author.username, true)
.setColor("e8da3a") .setColor("e8da3a")
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
.setTimestamp(); .setTimestamp();
if (['add', 'a', 'make', 'm'].includes(args[0])) { if (['add', 'a', 'make', 'm'].includes(args[0])) {

@ -26,10 +26,10 @@ module.exports = {
let name = message.guild ? message.member.displayName : message.author.username; let name = message.guild ? message.member.displayName : message.author.username;
return message.reply({embeds: [new Discord.MessageEmbed() return message.reply({embeds: [new Discord.MessageEmbed()
.setAuthor("8ball Question", message.author.avatarURL()) .setAuthor({name: "8ball Question", iconURL: message.author.avatarURL()})
.setDescription("**Question:** " + question + "\n**Answer:** " + responses[Math.floor(Math.random() * responses.length)]) .setDescription("**Question:** " + question + "\n**Answer:** " + responses[Math.floor(Math.random() * responses.length)])
.setColor("c375f0") .setColor("c375f0")
.setFooter(`Asked by ${name} | Natsuki`) .setFooter({text: `Asked by ${name} | Natsuki`})
.setTimestamp()]} .setTimestamp()]}
); );
} }

@ -25,7 +25,7 @@ module.exports = {
if (!message.guild.members.cache.has(mention.id)) {return message.reply("That user is not in this server!");} if (!message.guild.members.cache.has(mention.id)) {return message.reply("That user is not in this server!");}
if (message.author.id === mention.id) {return message.reply("Ew quit tryna bite yourself, that's weird.");} if (message.author.id === mention.id) {return message.reply("Ew quit tryna bite yourself, that's weird.");}
return message.channel.send({embeds: [new Discord.MessageEmbed() return message.channel.send({embeds: [new Discord.MessageEmbed()
.setAuthor(`${message.guild ? message.member.displayName : message.author.username} bites ${message.guild.members.cache.get(mention.id).displayName}`, message.author.avatarURL()) .setAuthor({name: `${message.guild ? message.member.displayName : message.author.username} bites ${message.guild.members.cache.get(mention.id).displayName}`, iconURL: message.author.avatarURL()})
.setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)])) .setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)]))
.setColor('d93846') .setColor('d93846')
]}); ]});

@ -107,7 +107,7 @@ module.exports = {
let note = await message.channel.send({embeds: [new Discord.MessageEmbed() let note = await message.channel.send({embeds: [new Discord.MessageEmbed()
.setDescription(pretext) .setDescription(pretext)
.setColor('c375f0') .setColor('c375f0')
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp() .setTimestamp()
]}); ]});
@ -131,10 +131,10 @@ module.exports = {
} }
let finalEmbed = new Discord.MessageEmbed() let finalEmbed = new Discord.MessageEmbed()
.setAuthor(title, message.author.avatarURL()) .setAuthor({name: title, iconURL: message.author.avatarURL()})
.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!` : ''}`})
.setTimestamp(); .setTimestamp();
if (mention) {finalEmbed.setThumbnail(mention.avatarURL({size: 1024}));} if (mention) {finalEmbed.setThumbnail(mention.avatarURL({size: 1024}));}

@ -29,7 +29,7 @@ module.exports = {
stream.on('nowPlaying', t => { stream.on('nowPlaying', t => {
clearTimeout(timeout); clearTimeout(timeout);
message.channel.send({embeds: [new Discord.MessageEmbed() message.channel.send({embeds: [new Discord.MessageEmbed()
.setAuthor(message.guild ? message.guild.members.cache.get(user.id) ? message.guild.members.cache.get(user.id).displayName : user.username : user.username, user.avatarURL()) .setAuthor({name: message.guild ? message.guild.members.cache.get(user.id) ? message.guild.members.cache.get(user.id).displayName : user.username : user.username, iconURL: user.avatarURL()})
.setTitle(`${saves.get(user.id)} | Now Playing`) .setTitle(`${saves.get(user.id)} | Now Playing`)
.setDescription(`<@${user.id}> is currently listening to **${t.name}** by **${t.artist['#text']}**.\nView the song [here](${t.url}).`) .setDescription(`<@${user.id}> is currently listening to **${t.name}** by **${t.artist['#text']}**.\nView the song [here](${t.url}).`)
.setColor("c375f0") .setColor("c375f0")

@ -82,7 +82,7 @@ module.exports = {
.addField("ID", `\`${id}\``, true) .addField("ID", `\`${id}\``, true)
.addField("Owner", message.author.username, true) .addField("Owner", message.author.username, true)
.setColor("01bd2f") .setColor("01bd2f")
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp() .setTimestamp()
]}); ]});
} }
@ -117,7 +117,7 @@ module.exports = {
.addField("Owner", o.username, true) .addField("Owner", o.username, true)
.addField("Members", `${tss.members ? tss.members.length : 0}`, true) .addField("Members", `${tss.members ? tss.members.length : 0}`, true)
.setColor("01bd2f") .setColor("01bd2f")
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp() .setTimestamp()
]}); ]});

@ -31,11 +31,11 @@ module.exports = {
slaps.markModified(`against.${mention.id}`); slaps.markModified(`against.${mention.id}`);
slaps.save(); slaps.save();
return message.channel.send({embeds: [new Discord.MessageEmbed() return message.channel.send({embeds: [new Discord.MessageEmbed()
.setAuthor(`${message.guild ? message.member.displayName : message.author.username} slaps ${message.guild.members.cache.get(mention.id).displayName}`, message.author.avatarURL()) .setAuthor({name: `${message.guild ? message.member.displayName : message.author.username} slaps ${message.guild.members.cache.get(mention.id).displayName}`, iconURL: message.author.avatarURL()})
.setDescription(`That makes slap **#${slaps.against[mention.id]}** from you to them!`) .setDescription(`That makes slap **#${slaps.against[mention.id]}** from you to them!`)
.setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)])) .setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)]))
.setColor('d93846') .setColor('d93846')
.setFooter(`${slaps.total} slap${slaps.total === 1 ? '' : 's'} total`) .setFooter({text: `${slaps.total} slap${slaps.total === 1 ? '' : 's'} total`})
]}); ]});
} }
if (['s', 'save', 'n', 'new', 'a', 'add'].includes(args[0].toLowerCase())) { if (['s', 'save', 'n', 'new', 'a', 'add'].includes(args[0].toLowerCase())) {

@ -31,7 +31,7 @@ module.exports = {
.setThumbnail(message.guild.iconURL({size: 2048, dynamic: true})) .setThumbnail(message.guild.iconURL({size: 2048, dynamic: true}))
.addField("Level", lvls) .addField("Level", lvls)
.setColor('c375f0') .setColor('c375f0')
.setFooter("Natsuki | Stats may be up to 2 minutes out of sync") .setFooter({text: "Natsuki | Stats may be up to 2 minutes out of sync"})
.setTimestamp() .setTimestamp()
]}); ]});

@ -64,7 +64,7 @@ module.exports = {
.setThumbnail(message.guild.iconURL({size: 2048})) .setThumbnail(message.guild.iconURL({size: 2048}))
.setDescription(s) .setDescription(s)
.setColor('c375f0') .setColor('c375f0')
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp() .setTimestamp()
]}); ]});
} }

@ -38,7 +38,7 @@ module.exports = {
.setThumbnail(message.guild.iconURL({size: 2048})) .setThumbnail(message.guild.iconURL({size: 2048}))
.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
.setColor("c375f0") .setColor("c375f0")
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp() .setTimestamp()
]}); ]});
}); });

@ -34,7 +34,7 @@ module.exports = {
.addField("XP", `**${xp.xp}** of **${Math.ceil(100 + (((xp.level / 3) ** 2) * 2))}** needed to level up`, true) .addField("XP", `**${xp.xp}** of **${Math.ceil(100 + (((xp.level / 3) ** 2) * 2))}** needed to level up`, true)
.setThumbnail(client.users.cache.get(u.id).avatarURL({size: 2048})) .setThumbnail(client.users.cache.get(u.id).avatarURL({size: 2048}))
.setColor("c375f0") .setColor("c375f0")
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
.setTimestamp() .setTimestamp()
]}) ]})
} }

@ -72,7 +72,7 @@ module.exports = {
.setTitle("Auto-Responses in this Server") .setTitle("Auto-Responses in this Server")
.setDescription(string) .setDescription(string)
.setColor('c375f0') .setColor('c375f0')
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp(); .setTimestamp();
if (mode) {embed.addField(mode === 'edit' ? "Editing" : 'Deletion', `Please say the **number** of the AR you wish to ${mode}.`);} if (mode) {embed.addField(mode === 'edit' ? "Editing" : 'Deletion', `Please say the **number** of the AR you wish to ${mode}.`);}
let r = await message.channel.send({embeds: [embed]}); let r = await message.channel.send({embeds: [embed]});

@ -17,7 +17,7 @@ module.exports = {
.setTitle("Commands") .setTitle("Commands")
.setDescription(`You can use \`${prefix}help\` on any command to get more help on it.`) .setDescription(`You can use \`${prefix}help\` on any command to get more help on it.`)
.setColor('c375f0') .setColor('c375f0')
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp(); .setTimestamp();
categories.forEach(category => ce.addField(category, Array.from(client.commands.values()).filter(command => command.meta ? command.meta.category === category : category === "Uncategorized").map(cmd => `\`${cmd.name}\``).join(', '))); categories.forEach(category => ce.addField(category, Array.from(client.commands.values()).filter(command => command.meta ? command.meta.category === category : category === "Uncategorized").map(cmd => `\`${cmd.name}\``).join(', ')));
return message.channel.send({embeds: [ce]}); return message.channel.send({embeds: [ce]});

@ -34,7 +34,7 @@ module.exports = {
.setDescription(`Name: ${spl[1] ? `\`:${spl[1]}:\`` : "Not Found"}\nID: ${spl[2].slice(0, spl[2].length - 1)}\nURL: [Here](${`https://cdn.discordapp.com/emojis/${spl[2].slice(0, spl[2].length - 1)}${spl[0].includes('a') ? '.gif' : ""}`})\nAnimated: ${spl[0].includes('a') === true}\n\nI have access: ${client.emojis.cache.has(spl[2].slice(0, spl[2].length - 1))}`) .setDescription(`Name: ${spl[1] ? `\`:${spl[1]}:\`` : "Not Found"}\nID: ${spl[2].slice(0, spl[2].length - 1)}\nURL: [Here](${`https://cdn.discordapp.com/emojis/${spl[2].slice(0, spl[2].length - 1)}${spl[0].includes('a') ? '.gif' : ""}`})\nAnimated: ${spl[0].includes('a') === true}\n\nI have access: ${client.emojis.cache.has(spl[2].slice(0, spl[2].length - 1))}`)
.setColor('c375f0') .setColor('c375f0')
.setImage(`https://cdn.discordapp.com/emojis/${spl[2].slice(0, spl[2].length - 1)}${spl[0].includes('a') ? '.gif' : ""}`) .setImage(`https://cdn.discordapp.com/emojis/${spl[2].slice(0, spl[2].length - 1)}${spl[0].includes('a') ? '.gif' : ""}`)
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp(); .setTimestamp();
if (client.emojis.cache.has(spl[2].slice(0, spl[2].length - 1))) {finEm.setThumbnail(client.emojis.cache.get(spl[2].slice(0, spl[2].length - 1)).guild.iconURL({size: 1024}));} if (client.emojis.cache.has(spl[2].slice(0, spl[2].length - 1))) {finEm.setThumbnail(client.emojis.cache.get(spl[2].slice(0, spl[2].length - 1)).guild.iconURL({size: 1024}));}
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}]`)
.setDescription(page) .setDescription(page)
.setColor('c375f0') .setColor('c375f0')
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp() .setTimestamp()
); );
if (cond) {break;} if (cond) {break;}
@ -78,7 +78,7 @@ module.exports = {
.setTitle(`Emoji Lookup Results - ${lookup.size}`) .setTitle(`Emoji Lookup Results - ${lookup.size}`)
.setDescription(page) .setDescription(page)
.setColor('c375f0') .setColor('c375f0')
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp() .setTimestamp()
]}); ]});
} }
@ -110,7 +110,7 @@ module.exports = {
.setDescription(`Name: ${name ? `\`:${name}:\`` : "Not Found"}\nID: ${id}\nURL: [Here](${url})\nAnimated: ${animated === true}\n\nI have access: ${access}`) .setDescription(`Name: ${name ? `\`:${name}:\`` : "Not Found"}\nID: ${id}\nURL: [Here](${url})\nAnimated: ${animated === true}\n\nI have access: ${access}`)
.setColor('c375f0') .setColor('c375f0')
.setImage(url) .setImage(url)
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp(); .setTimestamp();
if (access) {finEm.setThumbnail(client.emojis.cache.get(id).guild.iconURL({size: 1024}));} if (access) {finEm.setThumbnail(client.emojis.cache.get(id).guild.iconURL({size: 1024}));}
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}**`);}

@ -18,7 +18,7 @@ module.exports = {
let category; for (category of Object.keys(sorted)) { let category; for (category of Object.keys(sorted)) {
let categorySorted = []; let categorySorted = [];
let current = 1; let current = 1;
let currentEmbed = new Discord.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"); let currentEmbed = new Discord.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");
let commands = Object.keys(sorted[category]); let commands = Object.keys(sorted[category]);
let command; for (command of commands) { let command; for (command of commands) {
let aliases = ''; let aliases = '';
@ -29,7 +29,7 @@ module.exports = {
if (current === 5) { if (current === 5) {
categorySorted.push(currentEmbed); categorySorted.push(currentEmbed);
current = 1; current = 1;
currentEmbed = new Discord.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 = new Discord.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."})
.setThumbnail(client.user.avatarURL({size: 2048})) .setThumbnail(client.user.avatarURL({size: 2048}))
.setTimestamp() .setTimestamp()
]}); ]});
@ -100,7 +100,7 @@ module.exports = {
if (pages.length > 1) { if (pages.length > 1) {
let help = new Pagination(message.channel, pages, message, client, true); let help = new Pagination(message.channel, pages, message, client, true);
return await help.start({endTime: 60000, user: message.author.id}).catch(() => {}); return await help.start({endTime: 60000, user: message.author.id}).catch(() => {});
} else {return message.channel.send({embeds: [pages[0].setFooter("Natsuki", client.user.avatarURL()).setTimestamp()]}).catch(() => {});} } else {return message.channel.send({embeds: [pages[0].setFooter({text: "Natsuki", iconURL: client.user.avatarURL()}).setTimestamp()]}).catch(() => {});}
} else { } else {
let command; let command;
if (client.commands.has(args[0])) {command = client.commands.get(args[0]);} if (client.commands.has(args[0])) {command = client.commands.get(args[0]);}
@ -109,7 +109,7 @@ module.exports = {
return message.reply(command.help return message.reply(command.help
? command.help instanceof Discord.MessageEmbed ? command.help instanceof Discord.MessageEmbed
? {embeds: [command.help.setFooter("Natsuki | <required> [optional]", client.user.avatarURL()).setColor("c375f0").setTimestamp()]} ? {embeds: [command.help.setFooter({text: "Natsuki | <required> [optional]", iconURL: client.user.avatarURL()}).setColor("c375f0").setTimestamp()]}
: command.help.replace(/{{p}}/g, prefix) : command.help.replace(/{{p}}/g, prefix)
: "I don't seem to have any help info available for that command." : "I don't seem to have any help info available for that command."
); );

@ -19,7 +19,7 @@ module.exports = {
let user = await UserData.findOne({uid: message.author.id}); let user = await UserData.findOne({uid: message.author.id});
return message.channel.send({embeds: [new Discord.MessageEmbed() return message.channel.send({embeds: [new Discord.MessageEmbed()
.setAuthor("About Me!", client.users.cache.get(client.developers[Math.floor(Math.random() * client.developers.length)]).avatarURL()) .setAuthor({name: "About Me!", iconURL: client.users.cache.get(client.developers[Math.floor(Math.random() * client.developers.length)]).avatarURL()})
.setThumbnail(client.user.avatarURL({size: 1024})) .setThumbnail(client.user.avatarURL({size: 1024}))
.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!`)
@ -28,7 +28,7 @@ module.exports = {
.addField("Last Restart", moment(botData.lastRestart).fromNow(), true) .addField("Last Restart", moment(botData.lastRestart).fromNow(), true)
.addField("Mem", `\`${(process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2)}MB\` heap of \`${(process.memoryUsage().heapTotal / 1024 / 1024).toFixed(2)}MB\` allocated. | **${Math.floor((process.memoryUsage().heapUsed / process.memoryUsage().heapTotal) * 100)}%**\nTotal RAM: \`${(os.totalmem() / 1024 / 1024 / 1024).toFixed(2)}GB\` | Free RAM: \`${(os.freemem() / 1024 / 1024 / 1024).toFixed(2)}GB\``, true) .addField("Mem", `\`${(process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2)}MB\` heap of \`${(process.memoryUsage().heapTotal / 1024 / 1024).toFixed(2)}MB\` allocated. | **${Math.floor((process.memoryUsage().heapUsed / process.memoryUsage().heapTotal) * 100)}%**\nTotal RAM: \`${(os.totalmem() / 1024 / 1024 / 1024).toFixed(2)}GB\` | Free RAM: \`${(os.freemem() / 1024 / 1024 / 1024).toFixed(2)}GB\``, true)
.setColor("c375f0") .setColor("c375f0")
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
.setTimestamp() .setTimestamp()
]}); ]});
} }

@ -16,7 +16,7 @@ module.exports = {
.setThumbnail(client.user.avatarURL({size: 2048})) .setThumbnail(client.user.avatarURL({size: 2048}))
.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!")
.setColor("c375f0") .setColor("c375f0")
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
.setTimestamp() .setTimestamp()
]}); ]});
} }

@ -36,12 +36,12 @@ module.exports = {
let upm = await message.reply("sure thing!"); let upm = await message.reply("sure thing!");
await require('../../util/wait')(1750); await require('../../util/wait')(1750);
return upm.edit({embeds: [new Discord.MessageEmbed() return upm.edit({embeds: [new Discord.MessageEmbed()
.setAuthor('Prefix updated!', message.author.avatarURL()) .setAuthor({name: 'Prefix updated!', iconURL: message.author.avatarURL()})
.setDescription(`New prefix: \`${np}\``) .setDescription(`New prefix: \`${np}\``)
.addField('Auditing Admin', `<@${message.member.id}>`, true) .addField('Auditing Admin', `<@${message.member.id}>`, true)
.addField("Notice", "Prefixes are cached, and may take up to a minute to update.") .addField("Notice", "Prefixes are cached, and may take up to a minute to update.")
.setColor('c375f0') .setColor('c375f0')
.setFooter('Natsuki', client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp() .setTimestamp()
]}); ]});
} }

@ -15,7 +15,7 @@ module.exports = {
execute(message, msg, args, cmd, prefix, mention, client) { execute(message, msg, args, cmd, prefix, mention, client) {
let now = new Date(); let now = new Date();
return message.channel.send({embeds: [new Discord.MessageEmbed() return message.channel.send({embeds: [new Discord.MessageEmbed()
.setAuthor("Server info", message.author.avatarURL()) .setAuthor({name: "Server info", iconURL: message.author.avatarURL()})
.setTitle(message.guild.name) .setTitle(message.guild.name)
.setThumbnail(message.guild.iconURL({size: 2048})) .setThumbnail(message.guild.iconURL({size: 2048}))
.setDescription(`Name: \`${message.guild.name}\`\n\nOwner: <@${message.guild.ownerId}>\nRegion: ${message.guild.region}\nIcon: [URL](${message.guild.iconURL({size: 2048})})`) .setDescription(`Name: \`${message.guild.name}\`\n\nOwner: <@${message.guild.ownerId}>\nRegion: ${message.guild.region}\nIcon: [URL](${message.guild.iconURL({size: 2048})})`)
@ -24,7 +24,7 @@ module.exports = {
.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() - new Date(message.member.joinedAt.getTime()).getTime()) / (new Date(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() - new Date(message.member.joinedAt.getTime()).getTime()) / (new Date(message.guild.createdAt).getTime() - now.getTime())) * -100)}%** of server lifetime)`)
.setColor('c375f0') .setColor('c375f0')
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
.setTimestamp() .setTimestamp()
]}); ]});
} }

@ -16,7 +16,7 @@ module.exports = {
.setThumbnail(client.user.avatarURL({size: 2048})) .setThumbnail(client.user.avatarURL({size: 2048}))
.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!")
.setColor("c375f0") .setColor("c375f0")
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
.setTimestamp() .setTimestamp()
]}); ]});
} }

@ -21,7 +21,7 @@ module.exports = {
.setTitle("Uptime") .setTitle("Uptime")
.setDescription(`${moment.preciseDiff(moment(bot.lastRestart), moment())}`) .setDescription(`${moment.preciseDiff(moment(bot.lastRestart), moment())}`)
.setColor('c375f0') .setColor('c375f0')
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
.setTimestamp() .setTimestamp()
]}) ]})
} }

@ -25,7 +25,7 @@ module.exports = {
.addField("Account Created", `${moment(client.users.cache.get(person.id).createdAt).fromNow()}`, true) .addField("Account Created", `${moment(client.users.cache.get(person.id).createdAt).fromNow()}`, true)
.addField("Bot User?", client.users.cache.get(person.id).bot ? "Is a bot" : "Is not a bot", true) .addField("Bot User?", client.users.cache.get(person.id).bot ? "Is a bot" : "Is not a bot", true)
.setColor('c375f0') .setColor('c375f0')
.setFooter('Natsuki', client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp(); .setTimestamp();
if (message.guild) { if (message.guild) {

@ -31,7 +31,7 @@ module.exports = {
.setThumbnail(message.author.avatarURL({size: 2048})) .setThumbnail(message.author.avatarURL({size: 2048}))
.setDescription(`Role: ${tg.joinrole.length ? `<@&${tg.joinrole}>` : "None"}`) .setDescription(`Role: ${tg.joinrole.length ? `<@&${tg.joinrole}>` : "None"}`)
.setColor("c375f0") .setColor("c375f0")
.setFooter('Natsuki', client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp() .setTimestamp()
); );
} }

@ -43,7 +43,7 @@ module.exports = {
.setDescription(`For ${user.displayName}`) .setDescription(`For ${user.displayName}`)
.addField("Warnings", ws) .addField("Warnings", ws)
.setColor("c375f0") .setColor("c375f0")
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp() .setTimestamp()
]}); ]});
} }

@ -41,7 +41,7 @@ module.exports = {
.setTitle("Leave Channel/Message Updated") .setTitle("Leave Channel/Message Updated")
.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()}\``)
.setColor('c375f0') .setColor('c375f0')
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp() .setTimestamp()
]}) ]})
} }
@ -64,7 +64,7 @@ module.exports = {
.setTitle("Leave Channel/Message Updated") .setTitle("Leave Channel/Message Updated")
.setDescription(`This server's leave-notifying settings have been altered by ${message.author.tag}.\n\n**Channel**: None`) .setDescription(`This server's leave-notifying settings have been altered by ${message.author.tag}.\n\n**Channel**: None`)
.setColor('c375f0') .setColor('c375f0')
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp() .setTimestamp()
]}); ]});
} }

@ -68,7 +68,7 @@ module.exports = {
.addField("Name/ID", args[1].toLowerCase(), true) .addField("Name/ID", args[1].toLowerCase(), true)
.addField("Type", tr.responses.get(args[1].toLowerCase()).embed ? "Embed" : "Message", true) .addField("Type", tr.responses.get(args[1].toLowerCase()).embed ? "Embed" : "Message", true)
.setColor('c375f0') .setColor('c375f0')
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp(); .setTimestamp();
if (hasBinding) {infoEmbed.addField("Server Bindings", bm);} if (hasBinding) {infoEmbed.addField("Server Bindings", bm);}
return message.channel.send({embeds: [infoEmbed]}); return message.channel.send({embeds: [infoEmbed]});

@ -42,12 +42,12 @@ module.exports = {
let upm = await message.reply("sure thing!"); let upm = await message.reply("sure thing!");
await require('../../util/wait')(1750); await require('../../util/wait')(1750);
return upm.edit({embeds: [new Discord.MessageEmbed() return upm.edit({embeds: [new Discord.MessageEmbed()
.setAuthor('Staff role updated!', message.author.avatarURL()) .setAuthor({name: 'Staff role updated!', iconURL: message.author.avatarURL()})
.setDescription(`<@&${tguild.staffrole}> can now edit my settings in this server.`) .setDescription(`<@&${tguild.staffrole}> can now edit my settings in this server.`)
.addField('Auditing Admin', `<@${message.member.id}>`, true) .addField('Auditing Admin', `<@${message.member.id}>`, 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) .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)
.setColor('c375f0') .setColor('c375f0')
.setFooter('Natsuki', client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp() .setTimestamp()
]}); ]});
} }

@ -51,7 +51,7 @@ module.exports = {
.setDescription(`For ${user.displayName}`) .setDescription(`For ${user.displayName}`)
.addField("Warnings", ws) .addField("Warnings", ws)
.setColor("c375f0") .setColor("c375f0")
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp() .setTimestamp()
]}); ]});
} }

@ -41,7 +41,7 @@ module.exports = {
.setTitle("Welcome Channel/Message Updated") .setTitle("Welcome Channel/Message Updated")
.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()}\``)
.setColor('c375f0') .setColor('c375f0')
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp() .setTimestamp()
]}) ]})
} }
@ -64,7 +64,7 @@ module.exports = {
.setTitle("Welcome Channel/Message Updated") .setTitle("Welcome Channel/Message Updated")
.setDescription(`This server's member-welcoming settings have been altered by ${message.author.tag}.\n\n**Channel**: None`) .setDescription(`This server's member-welcoming settings have been altered by ${message.author.tag}.\n\n**Channel**: None`)
.setColor('c375f0') .setColor('c375f0')
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp() .setTimestamp()
]}); ]});
} }

@ -26,7 +26,7 @@ module.exports = {
.setThumbnail(client.users.cache.get(person).avatarURL({size: 2048})) .setThumbnail(client.users.cache.get(person).avatarURL({size: 2048}))
.setDescription(pud.bio) .setDescription(pud.bio)
.setColor(pud.color && pud.color.length ? pud.color : 'c375f0') .setColor(pud.color && pud.color.length ? pud.color : 'c375f0')
.setFooter('Natsuki', client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp() .setTimestamp()
]}); ]});
} }
@ -48,7 +48,7 @@ module.exports = {
.setThumbnail(message.author.avatarURL({size: 2048})) .setThumbnail(message.author.avatarURL({size: 2048}))
.setDescription(tu.bio) .setDescription(tu.bio)
.setColor(tu.color && tu.color.length ? tu.color : 'c375f0') .setColor(tu.color && tu.color.length ? tu.color : 'c375f0')
.setFooter('Natsuki', client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp() .setTimestamp()
]}); ]});
} }

@ -24,7 +24,7 @@ module.exports = {
.setThumbnail(message.author.avatarURL({size: 2048})) .setThumbnail(message.author.avatarURL({size: 2048}))
.setDescription(`Give them one with \`${prefix}bonk @${message.member.displayName}\`!`) .setDescription(`Give them one with \`${prefix}bonk @${message.member.displayName}\`!`)
.setColor('dda0dd') .setColor('dda0dd')
.setFooter('Natsuki', client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp()]} .setTimestamp()]}
: "I fucking dare you to hit me." : "I fucking dare you to hit me."
);} );}
@ -38,11 +38,11 @@ module.exports = {
bonk.markModified(`against.${mention.id}`); bonk.markModified(`against.${mention.id}`);
bonk.save(); bonk.save();
return message.channel.send({embeds: [new Discord.MessageEmbed() return message.channel.send({embeds: [new Discord.MessageEmbed()
.setAuthor(`${message.guild ? message.member.displayName : message.author.username} bonks ${message.guild.members.cache.get(mention.id).displayName}!...ouch! `, message.author.avatarURL()) .setAuthor({name: `${message.guild ? message.member.displayName : message.author.username} bonks ${message.guild.members.cache.get(mention.id).displayName}!...ouch! `, iconURL: message.author.avatarURL()})
.setDescription(`You've bonked them **${bonk.against[mention.id] === 1 ? 'once' : `${bonk.against[mention.id]} times!`}**`) .setDescription(`You've bonked them **${bonk.against[mention.id] === 1 ? 'once' : `${bonk.against[mention.id]} times!`}**`)
.setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)])) .setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)]))
.setColor('dda0dd') .setColor('dda0dd')
.setFooter(`${bonk.total} bonk${bonk.total === 1 ? '' : 's'} total`) .setFooter({text: `${bonk.total} bonk${bonk.total === 1 ? '' : 's'} total`})
]}); ]});
} }
if (['s', 'save', 'n', 'new', 'a', 'add'].includes(args[0].toLowerCase())) { if (['s', 'save', 'n', 'new', 'a', 'add'].includes(args[0].toLowerCase())) {

@ -23,7 +23,7 @@ module.exports = {
.setThumbnail(message.author.avatarURL({size: 2048})) .setThumbnail(message.author.avatarURL({size: 2048}))
.setDescription(`Help with their..ahem..problem..with \`${prefix}creampie @${name}\`!`) .setDescription(`Help with their..ahem..problem..with \`${prefix}creampie @${name}\`!`)
.setColor('fffdd0') .setColor('fffdd0')
.setFooter('Natsuki', client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp()]} .setTimestamp()]}
: "Do. Not. Touch. Me." : "Do. Not. Touch. Me."
);} );}
@ -34,7 +34,7 @@ module.exports = {
let name = message.guild ? message.member.displayName : message.author.username; let name = message.guild ? message.member.displayName : message.author.username;
let uname = message.guild.members.cache.get(mention.id).displayName; let uname = message.guild.members.cache.get(mention.id).displayName;
return message.channel.send({embeds: [new Discord.MessageEmbed() return message.channel.send({embeds: [new Discord.MessageEmbed()
.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()})
.setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)])) .setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)]))
.setColor('fffdd0') .setColor('fffdd0')
]}); ]});

@ -23,7 +23,7 @@ module.exports = {
.setThumbnail(message.author.avatarURL({size: 2048})) .setThumbnail(message.author.avatarURL({size: 2048}))
.setDescription(`Bless someone with some food with \`${prefix}feed @${name}\`!`) .setDescription(`Bless someone with some food with \`${prefix}feed @${name}\`!`)
.setColor('bb0a1e') .setColor('bb0a1e')
.setFooter('Natsuki', client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp()]} .setTimestamp()]}
: "Sorry..I'm kinda full right now." : "Sorry..I'm kinda full right now."
);} );}
@ -34,7 +34,7 @@ module.exports = {
let name = message.guild ? message.member.displayName : message.author.username; let name = message.guild ? message.member.displayName : message.author.username;
let uname = message.guild.members.cache.get(mention.id).displayName; let uname = message.guild.members.cache.get(mention.id).displayName;
return message.channel.send({embeds: [new Discord.MessageEmbed() return message.channel.send({embeds: [new Discord.MessageEmbed()
.setAuthor(`${message.guild ? message.member.displayName : message.author.username} feeds ${message.guild.members.cache.get(mention.id).displayName} a delicous treat!`, message.author.avatarURL()) .setAuthor({name: `${message.guild ? message.member.displayName : message.author.username} feeds ${message.guild.members.cache.get(mention.id).displayName} a delicous treat!`, iconURL: message.author.avatarURL()})
.setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)])) .setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)]))
.setColor('fed8b1') .setColor('fed8b1')
]}); ]});

@ -24,7 +24,7 @@ module.exports = {
.setThumbnail(message.author.avatarURL({size: 2048})) .setThumbnail(message.author.avatarURL({size: 2048}))
.setDescription(`Show them some love with \`${prefix}fuck @${message.member.displayName}\`!`) .setDescription(`Show them some love with \`${prefix}fuck @${message.member.displayName}\`!`)
.setColor('dda0dd') .setColor('dda0dd')
.setFooter('Natsuki', client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp()]} .setTimestamp()]}
: "You can't bang me.......only Wubzy can." : "You can't bang me.......only Wubzy can."
);} );}
@ -48,11 +48,11 @@ module.exports = {
fuck.markModified(`against.${mention.id}`); fuck.markModified(`against.${mention.id}`);
fuck.save(); fuck.save();
return message.channel.send({embeds: [new Discord.MessageEmbed() return message.channel.send({embeds: [new Discord.MessageEmbed()
.setAuthor(`${message.guild ? message.member.displayName : message.author.username} bangs ${message.guild.members.cache.get(mention.id).displayName}!...Kinky! `, message.author.avatarURL()) .setAuthor({name: `${message.guild ? message.member.displayName : message.author.username} bangs ${message.guild.members.cache.get(mention.id).displayName}!...Kinky! `, iconURL: message.author.avatarURL()})
.setDescription(`You've banged them **${fuck.against[mention.id] === 1 ? 'once' : `${fuck.against[mention.id]} times!`}**`) .setDescription(`You've banged them **${fuck.against[mention.id] === 1 ? 'once' : `${fuck.against[mention.id]} times!`}**`)
.setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)])) .setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)]))
.setColor('dda0dd') .setColor('dda0dd')
.setFooter(`${fuck.total} fuck${fuck.total === 1 ? '' : 's'} total`) .setFooter({text: `${fuck.total} fuck${fuck.total === 1 ? '' : 's'} total`})
]}); ]});
} }
if (['s', 'save', 'n', 'new', 'a', 'add'].includes(args[0].toLowerCase())) { if (['s', 'save', 'n', 'new', 'a', 'add'].includes(args[0].toLowerCase())) {

@ -23,7 +23,7 @@ module.exports = {
.setThumbnail(message.author.avatarURL({size: 2048})) .setThumbnail(message.author.avatarURL({size: 2048}))
.setDescription(`Let them know you love them with \`${prefix}handhold @${name}\`!`) .setDescription(`Let them know you love them with \`${prefix}handhold @${name}\`!`)
.setColor('328ba8') .setColor('328ba8')
.setFooter('Natsuki', client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp()]} .setTimestamp()]}
: "Yikes... I'm kinda germaphobic you know. Maybe try asking in a server?" : "Yikes... I'm kinda germaphobic you know. Maybe try asking in a server?"
);} );}
@ -34,7 +34,7 @@ module.exports = {
let name = message.guild ? message.member.displayName : message.author.username; let name = message.guild ? message.member.displayName : message.author.username;
let uname = message.guild.members.cache.get(mention.id).displayName; let uname = message.guild.members.cache.get(mention.id).displayName;
return message.channel.send({embeds: [new Discord.MessageEmbed() return message.channel.send({embeds: [new Discord.MessageEmbed()
.setAuthor(`${message.guild ? message.member.displayName : message.author.username} holds ${uname.endsWith('s') ? `${uname}'` : `${uname}'s`} hand!`, message.author.avatarURL()) .setAuthor({name: `${message.guild ? message.member.displayName : message.author.username} holds ${uname.endsWith('s') ? `${uname}'` : `${uname}'s`} hand!`, iconURL: message.author.avatarURL()})
.setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)])) .setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)]))
.setColor('d428a0') .setColor('d428a0')
]}); ]});

@ -23,7 +23,7 @@ module.exports = {
.setThumbnail(message.author.avatarURL({size: 2048})) .setThumbnail(message.author.avatarURL({size: 2048}))
.setDescription(`Lend them some help with \`${prefix}heal @${name}\`!`) .setDescription(`Lend them some help with \`${prefix}heal @${name}\`!`)
.setColor('ffc0cb') .setColor('ffc0cb')
.setFooter('Natsuki', client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp()]} .setTimestamp()]}
: "I am immortal, I don't need healing." : "I am immortal, I don't need healing."
);} );}
@ -34,7 +34,7 @@ module.exports = {
let name = message.guild ? message.member.displayName : message.author.username; let name = message.guild ? message.member.displayName : message.author.username;
let uname = message.guild.members.cache.get(mention.id).displayName; let uname = message.guild.members.cache.get(mention.id).displayName;
return message.channel.send({embeds: [new Discord.MessageEmbed() return message.channel.send({embeds: [new Discord.MessageEmbed()
.setAuthor(`${message.guild ? message.member.displayName : message.author.username} heals ${message.guild.members.cache.get(mention.id).displayName}!`, message.author.avatarURL()) .setAuthor({name: `${message.guild ? message.member.displayName : message.author.username} heals ${message.guild.members.cache.get(mention.id).displayName}!`, iconURL: message.author.avatarURL()})
.setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)])) .setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)]))
.setColor('ffc0cb') .setColor('ffc0cb')
]}); ]});

@ -24,7 +24,7 @@ module.exports = {
.setThumbnail(message.author.avatarURL({size: 2048})) .setThumbnail(message.author.avatarURL({size: 2048}))
.setDescription(`Show them some love with \`${prefix}hug @${message.member.displayName}\`!`) .setDescription(`Show them some love with \`${prefix}hug @${message.member.displayName}\`!`)
.setColor('c375f0') .setColor('c375f0')
.setFooter('Natsuki', client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp()]} .setTimestamp()]}
: "Sorry, but I'm a bot, and I can't hug you. Go into a server and ask for some hugs!" : "Sorry, but I'm a bot, and I can't hug you. Go into a server and ask for some hugs!"
);} );}
@ -38,11 +38,11 @@ module.exports = {
hugs.markModified(`against.${mention.id}`); hugs.markModified(`against.${mention.id}`);
hugs.save(); hugs.save();
return message.channel.send({embeds: [new Discord.MessageEmbed() return message.channel.send({embeds: [new Discord.MessageEmbed()
.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!`}**`)
.setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)])) .setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)]))
.setColor('52c7bb') .setColor('52c7bb')
.setFooter(`${hugs.total} hug${hugs.total === 1 ? '' : 's'} total`) .setFooter({text: `${hugs.total} hug${hugs.total === 1 ? '' : 's'} total`})
]}); ]});
} }
if (['s', 'save', 'n', 'new', 'a', 'add'].includes(args[0].toLowerCase())) { if (['s', 'save', 'n', 'new', 'a', 'add'].includes(args[0].toLowerCase())) {

@ -23,7 +23,7 @@ module.exports = {
.setThumbnail(message.author.avatarURL({size: 2048})) .setThumbnail(message.author.avatarURL({size: 2048}))
.setDescription(`Brutally murder someone with \`${prefix}kill @${name}\`!`) .setDescription(`Brutally murder someone with \`${prefix}kill @${name}\`!`)
.setColor('bb0a1e') .setColor('bb0a1e')
.setFooter('Natsuki', client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp()]} .setTimestamp()]}
: "You can't kill me..don't even try." : "You can't kill me..don't even try."
);} );}
@ -34,7 +34,7 @@ module.exports = {
let name = message.guild ? message.member.displayName : message.author.username; let name = message.guild ? message.member.displayName : message.author.username;
let uname = message.guild.members.cache.get(mention.id).displayName; let uname = message.guild.members.cache.get(mention.id).displayName;
return message.channel.send({embeds: [new Discord.MessageEmbed() return message.channel.send({embeds: [new Discord.MessageEmbed()
.setAuthor(`${message.guild ? message.member.displayName : message.author.username} brutally murders ${message.guild.members.cache.get(mention.id).displayName}..Rest in Peace.`, message.author.avatarURL()) .setAuthor({name: `${message.guild ? message.member.displayName : message.author.username} brutally murders ${message.guild.members.cache.get(mention.id).displayName}..Rest in Peace.`, iconURL: message.author.avatarURL()})
.setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)])) .setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)]))
.setColor('bb0a1e') .setColor('bb0a1e')
]}); ]});

@ -21,7 +21,7 @@ module.exports = {
.setThumbnail(message.author.avatarURL({size: 2048})) .setThumbnail(message.author.avatarURL({size: 2048}))
.setDescription(`Give them a little kiss with \`${prefix}kiss @${message.member.displayName}\`!`) .setDescription(`Give them a little kiss with \`${prefix}kiss @${message.member.displayName}\`!`)
.setColor('c375f0') .setColor('c375f0')
.setFooter('Natsuki', client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp()]} .setTimestamp()]}
: "I'm not really into that kind of thing. Maybe try asking in a server?" : "I'm not really into that kind of thing. Maybe try asking in a server?"
);} );}
@ -30,7 +30,7 @@ module.exports = {
if (!message.guild.members.cache.has(mention.id)) {return message.reply("That user is not in this server!");} if (!message.guild.members.cache.has(mention.id)) {return message.reply("That user is not in this server!");}
if (message.author.id === mention.id) {return message.reply("A self-kiss ought to be a little hard, don't you think?");} if (message.author.id === mention.id) {return message.reply("A self-kiss ought to be a little hard, don't you think?");}
return message.channel.send({embeds: [new Discord.MessageEmbed() return message.channel.send({embeds: [new Discord.MessageEmbed()
.setAuthor(`${message.guild ? message.member.displayName : message.author.username} kisses ${message.guild.members.cache.get(mention.id).displayName}`, message.author.avatarURL()) .setAuthor({name: `${message.guild ? message.member.displayName : message.author.username} kisses ${message.guild.members.cache.get(mention.id).displayName}`, iconURL: message.author.avatarURL()})
.setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)])) .setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)]))
.setColor('d428a0') .setColor('d428a0')
]}); ]});

@ -25,7 +25,7 @@ module.exports = {
.setThumbnail(message.author.avatarURL({size: 2048})) .setThumbnail(message.author.avatarURL({size: 2048}))
.setDescription(`Give them some with \`${prefix}pat @${message.member.displayName}\`!`) .setDescription(`Give them some with \`${prefix}pat @${message.member.displayName}\`!`)
.setColor('c375f0') .setColor('c375f0')
.setFooter('Natsuki', client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp()]} .setTimestamp()]}
: "Sorry, but I'm only able to pat one person, and it's not you ^^" : "Sorry, but I'm only able to pat one person, and it's not you ^^"
);} );}
@ -39,11 +39,11 @@ module.exports = {
pats.markModified(`against.${mention.id}`); pats.markModified(`against.${mention.id}`);
pats.save(); pats.save();
return message.channel.send({embeds: [new Discord.MessageEmbed() return message.channel.send({embeds: [new Discord.MessageEmbed()
.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'}!`)
.setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)])) .setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)]))
.setColor('52c7bb') .setColor('52c7bb')
.setFooter(`${pats.total} pat${pats.total === 1 ? '' : 's'} total`) .setFooter({text: `${pats.total} pat${pats.total === 1 ? '' : 's'} total`})
]}); ]});
} }
if (['s', 'save', 'n', 'new', 'a', 'add'].includes(args[0].toLowerCase())) { if (['s', 'save', 'n', 'new', 'a', 'add'].includes(args[0].toLowerCase())) {

@ -23,7 +23,7 @@ module.exports = {
.setThumbnail(message.author.avatarURL({size: 2048})) .setThumbnail(message.author.avatarURL({size: 2048}))
.setDescription(`Fall madly in love with someone with \`${prefix}simp @${name}\`!`) .setDescription(`Fall madly in love with someone with \`${prefix}simp @${name}\`!`)
.setColor('ffb6c1') .setColor('ffb6c1')
.setFooter('Natsuki', client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp()]} .setTimestamp()]}
: "Nobody simps for me. That's just weird. Be weird to someone else." : "Nobody simps for me. That's just weird. Be weird to someone else."
);} );}
@ -34,7 +34,7 @@ module.exports = {
let name = message.guild ? message.member.displayName : message.author.username; let name = message.guild ? message.member.displayName : message.author.username;
let uname = message.guild.members.cache.get(mention.id).displayName; let uname = message.guild.members.cache.get(mention.id).displayName;
return message.channel.send({embeds: [new Discord.MessageEmbed() return message.channel.send({embeds: [new Discord.MessageEmbed()
.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()})
.setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)])) .setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)]))
.setColor('ffb6c1') .setColor('ffb6c1')
]}); ]});

@ -29,11 +29,11 @@ module.exports = {
spanks.markModified(`against.${mention.id}`); spanks.markModified(`against.${mention.id}`);
spanks.save(); spanks.save();
return message.channel.send({embeds: [new Discord.MessageEmbed() return message.channel.send({embeds: [new Discord.MessageEmbed()
.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!`}**`)
.setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)])) .setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)]))
.setColor('52c7bb') .setColor('52c7bb')
.setFooter(`${spanks.total} spank${spanks.total === 1 ? '' : 's'} total`) .setFooter({text: `${spanks.total} spank${spanks.total === 1 ? '' : 's'} total`})
]}); ]});
} }
if (['s', 'save', 'n', 'new', 'a', 'add'].includes(args[0].toLowerCase())) { if (['s', 'save', 'n', 'new', 'a', 'add'].includes(args[0].toLowerCase())) {

@ -23,7 +23,7 @@ module.exports = {
.setThumbnail(message.author.avatarURL({size: 2048})) .setThumbnail(message.author.avatarURL({size: 2048}))
.setDescription(`Give them a little wink with \`${prefix}wink @${name}\`!`) .setDescription(`Give them a little wink with \`${prefix}wink @${name}\`!`)
.setColor('8a2be2') .setColor('8a2be2')
.setFooter('Natsuki', client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp()]} .setTimestamp()]}
: "W-why are you winking at me privately..do it in a server! " : "W-why are you winking at me privately..do it in a server! "
);} );}
@ -34,7 +34,7 @@ module.exports = {
let name = message.guild ? message.member.displayName : message.author.username; let name = message.guild ? message.member.displayName : message.author.username;
let uname = message.guild.members.cache.get(mention.id).displayName; let uname = message.guild.members.cache.get(mention.id).displayName;
return message.channel.send({embeds: [new Discord.MessageEmbed() return message.channel.send({embeds: [new Discord.MessageEmbed()
.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()})
.setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)])) .setImage(String(Array.from(saves.values())[Math.floor(Math.random() * saves.size)]))
.setColor('8a2be2') .setColor('8a2be2')
]}); ]});

@ -40,10 +40,10 @@ module.exports = {
let flip = [1,2][Math.floor(Math.random() * 2)]; let flip = [1,2][Math.floor(Math.random() * 2)];
let coinEmbed = new Discord.MessageEmbed() let coinEmbed = new Discord.MessageEmbed()
.setAuthor("Coin Flip", message.author.avatarURL()) .setAuthor({name: "Coin Flip", iconURL: message.author.avatarURL()})
.setThumbnail(flip === 1 ? "https://cdn.discordapp.com/attachments/563198656241598484/655514893033799700/SmartSelect_20191214-140108_Samsung_Internet.jpg" : "https://cdn.discordapp.com/attachments/563198656241598484/655514881293811753/SmartSelect_20191214-140131_Samsung_Internet.jpg") .setThumbnail(flip === 1 ? "https://cdn.discordapp.com/attachments/563198656241598484/655514893033799700/SmartSelect_20191214-140108_Samsung_Internet.jpg" : "https://cdn.discordapp.com/attachments/563198656241598484/655514881293811753/SmartSelect_20191214-140131_Samsung_Internet.jpg")
.setDescription(`Flipped by ${message.guild ? message.member.displayName : message.author.username}.\nThe result is **${flip === 1 ? "Heads" : "Tails"}**`) .setDescription(`Flipped by ${message.guild ? message.member.displayName : message.author.username}.\nThe result is **${flip === 1 ? "Heads" : "Tails"}**`)
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
.setColor("c375f0") .setColor("c375f0")
.setTimestamp(); .setTimestamp();

@ -58,7 +58,7 @@ module.exports = {
.setThumbnail(message.guild.iconURL({size: 1024})) .setThumbnail(message.guild.iconURL({size: 1024}))
.setDescription("*These statistics have an accuracy of about 10 minutes.*") .setDescription("*These statistics have an accuracy of about 10 minutes.*")
.setColor('c375f0') .setColor('c375f0')
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp(); .setTimestamp();
if (thm) {emb.addField("Top Channels", chs).addField("Top Members", us);} if (thm) {emb.addField("Top Channels", chs).addField("Top Members", us);}

@ -44,7 +44,7 @@ module.exports = {
.setTitle(`Random Number${num.length > 1 ? 's' : ''}`) .setTitle(`Random Number${num.length > 1 ? 's' : ''}`)
.setDescription(res) .setDescription(res)
.setColor('c375f0') .setColor('c375f0')
.setFooter('Natsuki', client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp() .setTimestamp()
]}); ]});
} }

@ -21,7 +21,7 @@ module.exports = {
return message.channel.send({embeds: [new Discord.MessageEmbed() return message.channel.send({embeds: [new Discord.MessageEmbed()
.setTitle("Add Emoji") .setTitle("Add Emoji")
.setDescription("React to this message with the emoji you want to be added to the server.") .setDescription("React to this message with the emoji you want to be added to the server.")
.setFooter("This will time out in 60 seconds") .setFooter({text: "This will time out in 60 seconds"})
.setColor('c375f0') .setColor('c375f0')
]}).then(m => { ]}).then(m => {
const rc = m.createReactionCollector((r, u) => u.id === message.author.id, {time: 60000}); const rc = m.createReactionCollector((r, u) => u.id === message.author.id, {time: 60000});
@ -29,11 +29,11 @@ module.exports = {
rc.stop(); rc.stop();
return message.guild.emojis.create(`https://cdn.discordapp.com/emojis/${r.emoji.id}`, r.emoji.name) return message.guild.emojis.create(`https://cdn.discordapp.com/emojis/${r.emoji.id}`, r.emoji.name)
.then(e => message.channel.send({embeds: [new Discord.MessageEmbed() .then(e => message.channel.send({embeds: [new Discord.MessageEmbed()
.setAuthor(message.member.displayName, message.author.avatarURL()) .setAuthor({name: message.member.displayName, iconURL: message.author.avatarURL()})
.setTitle("Emoji Created!") .setTitle("Emoji Created!")
.setThumbnail(`https://cdn.discordapp.com/emojis/${e.id}${e.animated ? '.gif': ''}`) .setThumbnail(`https://cdn.discordapp.com/emojis/${e.id}${e.animated ? '.gif': ''}`)
.setDescription(`Name: \`:${e.name}:\`\nID: ${e.id}\nURL: [Click Me](https://cdn.discordapp.com/emojis/${e.id})`) .setDescription(`Name: \`:${e.name}:\`\nID: ${e.id}\nURL: [Click Me](https://cdn.discordapp.com/emojis/${e.id})`)
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
.setColor('c375f0') .setColor('c375f0')
.setTimestamp() .setTimestamp()
]}).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)
@ -61,11 +61,11 @@ module.exports = {
: args[0], : args[0],
args[1] || args[0].split(':')[1] args[1] || args[0].split(':')[1]
).then(e => message.channel.send({embeds: [new Discord.MessageEmbed() ).then(e => message.channel.send({embeds: [new Discord.MessageEmbed()
.setAuthor(message.member.displayName, message.author.avatarURL()) .setAuthor({name: message.member.displayName, iconURL: message.author.avatarURL()})
.setTitle("Emoji Created!") .setTitle("Emoji Created!")
.setThumbnail(`https://cdn.discordapp.com/emojis/${e.id}${e.animated ? '.gif': ''}`) .setThumbnail(`https://cdn.discordapp.com/emojis/${e.id}${e.animated ? '.gif': ''}`)
.setDescription(`Name: \`:${e.name}:\`\nID: ${e.id}\nURL: [Click Me](https://cdn.discordapp.com/emojis/${e.id}${e.animated ? '.gif': ''})`) .setDescription(`Name: \`:${e.name}:\`\nID: ${e.id}\nURL: [Click Me](https://cdn.discordapp.com/emojis/${e.id}${e.animated ? '.gif': ''})`)
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
.setColor('c375f0') .setColor('c375f0')
.setTimestamp() .setTimestamp()
]})) ]}))

@ -49,12 +49,12 @@ module.exports = {
let totalItems = 0; let totalItems = 0;
Object.keys(td.lists).forEach(l => totalItems += td.lists[l].length); Object.keys(td.lists).forEach(l => totalItems += td.lists[l].length);
return message.channel.send({content: `Your list was successfully created!`, embeds: [new Discord.MessageEmbed() return message.channel.send({content: `Your list was successfully created!`, embeds: [new Discord.MessageEmbed()
.setAuthor(message.guild ? message.member.displayName : message.author.username, message.author.avatarURL()) .setAuthor({name: message.guild ? message.member.displayName : message.author.username, iconURL: message.author.avatarURL()})
.setTitle(`List Created: ${ln}`) .setTitle(`List Created: ${ln}`)
.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}\`.`)
.setColor("c375f0") .setColor("c375f0")
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
.setTimestamp()] .setTimestamp()]
}); });
} else if (['d', 'delete', 'r', 'remove'].includes(args[0].toLowerCase())) { } else if (['d', 'delete', 'r', 'remove'].includes(args[0].toLowerCase())) {
@ -64,12 +64,12 @@ module.exports = {
let s = ``; let lists = Object.keys(td.lists); let s = ``; let lists = Object.keys(td.lists);
let i; for (i = 0; i < lists.length; i++) {if (lists[i] === 'quick') {continue;} s += `**${i}**. \`${lists[i]}\` - ${td.lists[lists[i]].length} ${td.lists[lists[i]].length === 1 ? 'item' : 'items'}\n`;} let i; for (i = 0; i < lists.length; i++) {if (lists[i] === 'quick') {continue;} s += `**${i}**. \`${lists[i]}\` - ${td.lists[lists[i]].length} ${td.lists[lists[i]].length === 1 ? 'item' : 'items'}\n`;}
message.channel.send({embeds: [new Discord.MessageEmbed() message.channel.send({embeds: [new Discord.MessageEmbed()
.setAuthor(message.guild ? message.member.displayName : message.author.username, message.author.avatarURL()) .setAuthor({name: message.guild ? message.member.displayName : message.author.username, iconURL: message.author.avatarURL()})
.setTitle(`Your ToDo lists`) .setTitle(`Your ToDo lists`)
.setDescription(s) .setDescription(s)
.addField("Deletion", "To delete a list, please reply with the **name** of the list you'd like to delete.") .addField("Deletion", "To delete a list, please reply with the **name** of the list you'd like to delete.")
.setColor("c375f0") .setColor("c375f0")
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
.setTimestamp() .setTimestamp()
]}); ]});
let collected; let collected;
@ -92,11 +92,11 @@ module.exports = {
let i; for (i = 0; i < lists.length; i++) {if (lists[i] === 'quick') {continue;} s += `**${i}**. \`${lists[i]}\` - ${td.lists[lists[i]].length} ${td.lists[lists[i]].length === 1 ? 'item' : 'items'}\n`;} let i; for (i = 0; i < lists.length; i++) {if (lists[i] === 'quick') {continue;} s += `**${i}**. \`${lists[i]}\` - ${td.lists[lists[i]].length} ${td.lists[lists[i]].length === 1 ? 'item' : 'items'}\n`;}
s += `\nPlus ${td.lists.quick.length} items in your quick list.`; s += `\nPlus ${td.lists.quick.length} items in your quick list.`;
return message.channel.send({embeds: [new Discord.MessageEmbed() return message.channel.send({embeds: [new Discord.MessageEmbed()
.setAuthor(message.guild ? message.member.displayName : message.author.username, message.author.avatarURL()) .setAuthor({name: message.guild ? message.member.displayName : message.author.username, iconURL: message.author.avatarURL()})
.setTitle(`Your ToDo lists`) .setTitle(`Your ToDo lists`)
.setDescription(s) .setDescription(s)
.setColor("c375f0") .setColor("c375f0")
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
.setTimestamp() .setTimestamp()
]}); ]});
} else if (td && Object.keys(td.lists).includes(args[0].trim().toLowerCase())) { } else if (td && Object.keys(td.lists).includes(args[0].trim().toLowerCase())) {
@ -118,7 +118,7 @@ module.exports = {
td.markModified(`lists.${list}`); td.markModified(`lists.${list}`);
td.save(); td.save();
return message.channel.send({embeds: [new Discord.MessageEmbed() return message.channel.send({embeds: [new Discord.MessageEmbed()
.setAuthor("To-Do Added!", message.author.avatarURL()) .setAuthor({name: "To-Do Added!", iconURL: message.author.avatarURL()})
.setDescription(`${item}\n\`->\` In ${list === 'quick' ? "your personal quick list" : `list \`${list}\``}`) .setDescription(`${item}\n\`->\` In ${list === 'quick' ? "your personal quick list" : `list \`${list}\``}`)
.setColor('c375f0') .setColor('c375f0')
]}); ]});
@ -157,7 +157,7 @@ module.exports = {
td.markModified(`lists.${list}`); td.markModified(`lists.${list}`);
td.save(); td.save();
let resembed = new Discord.MessageEmbed() let resembed = new Discord.MessageEmbed()
.setAuthor(`To-Do Item${items.length > 1 ? 's' : ''} Added!`, message.author.avatarURL()) .setAuthor({name: `To-Do Item${items.length > 1 ? 's' : ''} Added!`, iconURL: message.author.avatarURL()})
.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.");}
@ -174,11 +174,11 @@ module.exports = {
let n = 0; let i; let n = 0; let i;
for (i of td.lists[list]) {n++; s += `**${n}.** ${i}\n`;} for (i of td.lists[list]) {n++; s += `**${n}.** ${i}\n`;}
return message.channel.send({embeds: [new Discord.MessageEmbed() return message.channel.send({embeds: [new Discord.MessageEmbed()
.setAuthor(message.guild ? message.member.displayName : message.author.username, message.author.avatarURL()) .setAuthor({name: message.guild ? message.member.displayName : message.author.username, iconURL: message.author.avatarURL()})
.setTitle(list === "quick" ? "Personal Quick List" : `List: "${list}"`) .setTitle(list === "quick" ? "Personal Quick List" : `List: "${list}"`)
.setDescription(s) .setDescription(s)
.setColor("c375f0") .setColor("c375f0")
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
.setTimestamp() .setTimestamp()
]}).catch(() => { ]}).catch(() => {
client.users.fetch(client.developers[0]).then(wubzy => wubzy.send("Hey stupid, someone got the todo length bug. Fix it.")); client.users.fetch(client.developers[0]).then(wubzy => wubzy.send("Hey stupid, someone got the todo length bug. Fix it."));
@ -189,11 +189,11 @@ module.exports = {
let id = ['last', 'l'].includes(args[1].toLowerCase().trim()) ? td.lists[list].length : Number(args[1]); let id = ['last', 'l'].includes(args[1].toLowerCase().trim()) ? td.lists[list].length : Number(args[1]);
if (id < 1 || id > td.lists[list].length) {return message.channel.send("Your number was either below 1 or doesn't have a list item to match it.");} if (id < 1 || id > td.lists[list].length) {return message.channel.send("Your number was either below 1 or doesn't have a list item to match it.");}
return message.channel.send({embeds: [new Discord.MessageEmbed() return message.channel.send({embeds: [new Discord.MessageEmbed()
.setAuthor(message.guild ? message.member.displayName : message.author.username, message.author.avatarURL()) .setAuthor({name: message.guild ? message.member.displayName : message.author.username, iconURL: message.author.avatarURL()})
.setTitle(list === "quick" ? "Personal Quick List" : `List "${list}"`) .setTitle(list === "quick" ? "Personal Quick List" : `List "${list}"`)
.setDescription(`List item **#${id}**\n\`->\` ${td.lists[list][id-1]}`) .setDescription(`List item **#${id}**\n\`->\` ${td.lists[list][id-1]}`)
.setColor("c375f0") .setColor("c375f0")
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
.setTimestamp() .setTimestamp()
]}); ]});
} }
@ -209,12 +209,12 @@ module.exports = {
let s = ''; let s = '';
let n = 0; let i; for (i of td.lists[list]) {n++; s += `**${n}.** ${i}\n`;} let n = 0; let i; for (i of td.lists[list]) {n++; s += `**${n}.** ${i}\n`;}
await message.channel.send({embeds: [new Discord.MessageEmbed() await message.channel.send({embeds: [new Discord.MessageEmbed()
.setAuthor(message.guild ? message.member.displayName : message.author.username, message.author.avatarURL()) .setAuthor({name: message.guild ? message.member.displayName : message.author.username, iconURL: message.author.avatarURL()})
.setTitle(list === "quick" ? "Personal Quick List" : `List "${list}"`) .setTitle(list === "quick" ? "Personal Quick List" : `List "${list}"`)
.setDescription(s) .setDescription(s)
.addField("Deletion", "To remove an item from your list, please reply with the number of the item you no longer want on your list.") .addField("Deletion", "To remove an item from your list, please reply with the number of the item you no longer want on your list.")
.setColor("c375f0") .setColor("c375f0")
.setFooter("Natsuki") .setFooter({text: "Natsuki"})
.setTimestamp() .setTimestamp()
]}); ]});
try {collected = await message.channel.awaitMessages({filter: m => m.author.id === message.author.id, errors: ['time'], time: 60000, max: 1});} try {collected = await message.channel.awaitMessages({filter: m => m.author.id === message.author.id, errors: ['time'], time: 60000, max: 1});}

@ -8,7 +8,7 @@ module.exports = (client, channel) => {
.setTitle("New Channel") .setTitle("New Channel")
.setDescription(`<#${channel.id}> || **#${channel.name}**${channel.parent && channel.parent.name ? `\nCategory: **${channel.parent.name}**` : ''}`) .setDescription(`<#${channel.id}> || **#${channel.name}**${channel.parent && channel.parent.name ? `\nCategory: **${channel.parent.name}**` : ''}`)
.setColor('936b30') .setColor('936b30')
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp() .setTimestamp()
]}); ]});
}} }}

@ -7,7 +7,7 @@ module.exports = (client, channel) => {
.setTitle("Channel Deleted") .setTitle("Channel Deleted")
.setDescription(`Name: **#${channel.name}**${channel.parent && channel.parent.name ? `\nCategory: **${channel.parent.name}**` : ''}`) .setDescription(`Name: **#${channel.name}**${channel.parent && channel.parent.name ? `\nCategory: **${channel.parent.name}**` : ''}`)
.setColor('936b30') .setColor('936b30')
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp() .setTimestamp()
]}); ]});
}} }}

@ -15,14 +15,14 @@ module.exports = async (client, guild) => {
botData.save(); botData.save();
client.guilds.cache.get('762707532417335296').channels.cache.get('766031709866557471').send({embeds: [new Discord.MessageEmbed() client.guilds.cache.get('762707532417335296').channels.cache.get('766031709866557471').send({embeds: [new Discord.MessageEmbed()
.setAuthor('New Guild Added', client.users.cache.get(guild.ownerId).avatarURL()) .setAuthor({name: 'New Guild Added', iconURL: client.users.cache.get(guild.ownerId).avatarURL()})
.setTitle(guild.name) .setTitle(guild.name)
.setThumbnail(guild.iconURL({size: 2048})) .setThumbnail(guild.iconURL({size: 2048}))
.addField('Owner', client.users.cache.get(guild.ownerId).tag, true) .addField('Owner', client.users.cache.get(guild.ownerId).tag, true)
.addField('Members', `${guild.members.cache.size}`, true) .addField('Members', `${guild.members.cache.size}`, true)
.addField('Position', `Server #${client.guilds.cache.size}`, true) .addField('Position', `Server #${client.guilds.cache.size}`, true)
.setColor('55ff7f') .setColor('55ff7f')
.setFooter('Natsuki') .setFooter({text: "Natsuki"})
.setTimestamp() .setTimestamp()
]}); ]});
}; };

@ -14,14 +14,14 @@ module.exports = async (client, guild) => {
botData.save(); botData.save();
client.guilds.cache.get('762707532417335296').channels.cache.get('766031709866557471').send({embeds: [new Discord.MessageEmbed() client.guilds.cache.get('762707532417335296').channels.cache.get('766031709866557471').send({embeds: [new Discord.MessageEmbed()
.setAuthor('Server Lost', client.users.cache.get(guild.ownerId).avatarURL()) .setAuthor({name: 'Server Lost', iconURL: client.users.cache.get(guild.ownerId).avatarURL()})
.setTitle(guild.name) .setTitle(guild.name)
.setThumbnail(guild.iconURL({size: 2048})) .setThumbnail(guild.iconURL({size: 2048}))
.addField('Owner', client.users.cache.get(guild.ownerId).tag, true) .addField('Owner', client.users.cache.get(guild.ownerId).tag, true)
.addField('Members', guild.members.cache.size, true) .addField('Members', guild.members.cache.size, true)
.addField('Position', `Server #${client.guilds.cache.size + 1}`, true) .addField('Position', `Server #${client.guilds.cache.size + 1}`, true)
.setColor('ff5d6a') .setColor('ff5d6a')
.setFooter('Natsuki') .setFooter({text: "Natsuki"})
.setTimestamp() .setTimestamp()
]}); ]});
}; };

@ -18,7 +18,7 @@ module.exports = async (client, message) => {
.setTitle('Message Deleted') .setTitle('Message Deleted')
.setDescription(`Sent by <@${message.author.id}> | In <#${message.channel.id}>`) .setDescription(`Sent by <@${message.author.id}> | In <#${message.channel.id}>`)
.setThumbnail(message.author.avatarURL({size: 1024})) .setThumbnail(message.author.avatarURL({size: 1024}))
.setColor('ecff8f').setFooter("Natsuki", client.user.avatarURL()).setTimestamp(); .setColor('ecff8f').setFooter({text: "Natsuki", iconURL: client.user.avatarURL()}).setTimestamp();
if (message.content && message.content.length) {mde.addField("Message", "`-> `" + message.content.toString());} if (message.content && message.content.length) {mde.addField("Message", "`-> `" + message.content.toString());}
if (message.attachments.size) { if (message.attachments.size) {
if (message.attachments.first().url.includes(".png") || message.attachments.first().url.includes(".jpg") || message.attachments.first().url.includes(".gif")) {/*console.log('e');*/ try {mde.setImage(message.attachments.first().url);} catch {}} if (message.attachments.first().url.includes(".png") || message.attachments.first().url.includes(".jpg") || message.attachments.first().url.includes(".gif")) {/*console.log('e');*/ try {mde.setImage(message.attachments.first().url);} catch {}}

@ -18,7 +18,7 @@ module.exports = async (client, reaction, user) => {
.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})`)
.setThumbnail(reaction.message.author.avatarURL({size: 2048})) .setThumbnail(reaction.message.author.avatarURL({size: 2048}))
.setColor('ebb931') .setColor('ebb931')
.setFooter("Natsuki", client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp(); .setTimestamp();
if (reaction.message.content.length) {starEmbed.addField("Message", reaction.message.content);} if (reaction.message.content.length) {starEmbed.addField("Message", reaction.message.content);}
starEmbed starEmbed

@ -23,7 +23,7 @@ module.exports = async (client, oldM, newM) => {
.setThumbnail(oldM.author.avatarURL({size: 1024})) .setThumbnail(oldM.author.avatarURL({size: 1024}))
.addField("Old Message", "`-> `" + oldM.content.toString()) .addField("Old Message", "`-> `" + oldM.content.toString())
.addField("New Message", "`-> `" + newM.content.toString()) .addField("New Message", "`-> `" + newM.content.toString())
.setColor('8034eb').setFooter("Natsuki", client.user.avatarURL()).setTimestamp(); .setColor('8034eb').setFooter({text: "Natsuki", iconURL: client.user.avatarURL()}).setTimestamp();
if (newM.attachments.size && ['.png', '.jpg', '.gif'].includes(newM.attachments.first().url.slice(newM.attachments.first().url.length - 4, newM.attachments.first().url.length))) {embed.setImage(newM.attachments.first().url);} if (newM.attachments.size && ['.png', '.jpg', '.gif'].includes(newM.attachments.first().url.slice(newM.attachments.first().url.length - 4, newM.attachments.first().url.length))) {embed.setImage(newM.attachments.first().url);}
oldM.guild.channels.cache.get(ts).send({embeds: [embed]}).catch(() => {}); oldM.guild.channels.cache.get(ts).send({embeds: [embed]}).catch(() => {});
}} }}

@ -10,14 +10,14 @@ module.exports = async (client, oldState, voice) => {
.setTitle(`Member Switched VCs`) .setTitle(`Member Switched VCs`)
.setThumbnail(client.users.cache.get(oldState.member.id).avatarURL({size: 2048, dynamic: true})) .setThumbnail(client.users.cache.get(oldState.member.id).avatarURL({size: 2048, dynamic: true}))
.setDescription(`Old Channel: **${oldState.channel.name}**\nNew Channel: **${voice.channel.name}**`) .setDescription(`Old Channel: **${oldState.channel.name}**\nNew Channel: **${voice.channel.name}**`)
.setColor('e86b8f').setFooter("Natsuki", client.user.avatarURL()).setTimestamp() .setColor('e86b8f').setFooter({text: "Natsuki", iconURL: client.user.avatarURL()}).setTimestamp()
]}).catch(() => {}); ]}).catch(() => {});
} else { } else {
voice.guild.channels.cache.get(ts).send({embeds: [new Discord.MessageEmbed() voice.guild.channels.cache.get(ts).send({embeds: [new Discord.MessageEmbed()
.setTitle(`Member ${voice.channelId ? 'Joined' : 'Left'} VC`) .setTitle(`Member ${voice.channelId ? 'Joined' : 'Left'} VC`)
.setThumbnail(client.users.cache.get(oldState.member.id).avatarURL({size: 2048, dynamic: true})) .setThumbnail(client.users.cache.get(oldState.member.id).avatarURL({size: 2048, dynamic: true}))
.setDescription(`Channel: **${voice.channelId ? voice.channel.name : oldState.channel.name}**`) .setDescription(`Channel: **${voice.channelId ? voice.channel.name : oldState.channel.name}**`)
.setColor('e86b8f').setFooter("Natsuki", client.user.avatarURL()).setTimestamp() .setColor('e86b8f').setFooter({text: "Natsuki", iconURL: client.user.avatarURL()}).setTimestamp()
]}).catch(() => {}); ]}).catch(() => {});
} }
}} }}

@ -24,10 +24,10 @@ module.exports = (client) => {
/*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."
]; ];
return await interaction.reply({embeds: [new Discord.MessageEmbed() return await interaction.reply({embeds: [new Discord.MessageEmbed()
.setAuthor("8ball Question", interaction.user.avatarURL()) .setAuthor({name: "8ball Question", iconURL: interaction.user.avatarURL()})
.setDescription("**Question:** " + interaction.options.getString('question') + "\n**Answer:** " + responses[Math.floor(Math.random() * responses.length)]) .setDescription("**Question:** " + interaction.options.getString('question') + "\n**Answer:** " + responses[Math.floor(Math.random() * responses.length)])
.setColor("c375f0") .setColor("c375f0")
.setFooter(`Asked by ${interaction.guild ? interaction.member.displayName : interaction.user.username} | Natsuki`) .setFooter({text: `Asked by ${interaction.guild ? interaction.member.displayName : interaction.user.username} | Natsuki`})
.setTimestamp() .setTimestamp()
], ephemeral: !interaction.options.getBoolean("send")}); ], ephemeral: !interaction.options.getBoolean("send")});
} }

@ -35,7 +35,7 @@ module.exports = (client) => {
.addField("Account Created", moment(client.users.cache.get(person.id).createdAt).fromNow(), true) .addField("Account Created", moment(client.users.cache.get(person.id).createdAt).fromNow(), true)
.addField("Bot User?", client.users.cache.get(person.id).bot ? "Is a bot" : "Is not a bot", true) .addField("Bot User?", client.users.cache.get(person.id).bot ? "Is a bot" : "Is not a bot", true)
.setColor('c375f0') .setColor('c375f0')
.setFooter('Natsuki', client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp(); .setTimestamp();
if (interaction.guild) { if (interaction.guild) {

@ -12,11 +12,11 @@ module.exports = async (message, client, search, threshold=-10000, type='full')
let an = ani.plot ? ani : await Ani.findOne({id: client.misc.cache.anime.get(ani)}); let an = ani.plot ? ani : await Ani.findOne({id: client.misc.cache.anime.get(ani)});
let rte = new Discord.MessageEmbed() let rte = new Discord.MessageEmbed()
.setTitle(an.name) .setTitle(an.name)
.setAuthor('Anime Search', message.author.avatarURL()) .setAuthor({name: 'Anime Search', iconURL: message.author.avatarURL()})
.setDescription(`**Name:** ${an.name}\n**Japanese Name:** ${an.japname}\n\n**Publishers:** ${an.publishers.join(", ")}\n**Studios:** ${an.studios.join(", ")}`) .setDescription(`**Name:** ${an.name}\n**Japanese Name:** ${an.japname}\n\n**Publishers:** ${an.publishers.join(", ")}\n**Studios:** ${an.studios.join(", ")}`)
.setColor("c375f0") .setColor("c375f0")
.setImage(an.thumbnail) .setImage(an.thumbnail)
.setFooter('Natsuki', client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp() .setTimestamp()
if (type === 'full') { if (type === 'full') {
rte rte

@ -16,12 +16,12 @@ module.exports = async (message, client, search, threshold=-10000, type='full')
cch.images.push(cch.thumbnail); cch.images.push(cch.thumbnail);
let rte = new Discord.MessageEmbed() let rte = new Discord.MessageEmbed()
.setTitle(cch.name) .setTitle(cch.name)
.setAuthor('Character Search', message.author.avatarURL()) .setAuthor({name: 'Character Search', iconURL: message.author.avatarURL()})
.setDescription(`**Name:** ${cch.name}`) .setDescription(`**Name:** ${cch.name}`)
.addField('Other', `**Anime**: ${forceAni ? cch.anime : `${ani.name} | ${ani.japname} | \`${ani.id}\``}\n\n**Gender**: ${cch.gender}\n`) .addField('Other', `**Anime**: ${forceAni ? cch.anime : `${ani.name} | ${ani.japname} | \`${ani.id}\``}\n\n**Gender**: ${cch.gender}\n`)
.setColor("c375f0") .setColor("c375f0")
.setImage(cch.images[Math.floor(Math.random() * (cch.images.length + 1))]) .setImage(cch.images[Math.floor(Math.random() * (cch.images.length + 1))])
.setFooter('Natsuki', client.user.avatarURL()) .setFooter({text: "Natsuki", iconURL: client.user.avatarURL()})
.setTimestamp(); .setTimestamp();
if (type === 'full') { if (type === 'full') {
rte.addField("Loved by", `**${cch.loved}** Natsuki user${cch.loved === 1 ? '' : 's'}!\n\`char love ${cch.name}\``); rte.addField("Loved by", `**${cch.loved}** Natsuki user${cch.loved === 1 ? '' : 's'}!\n\`char love ${cch.name}\``);

@ -14,7 +14,7 @@ module.exports = async(message, msg, args, cmd, prefix, mention, client) => {
client.misc.statusPings.get(message.guild.id).set(mention.id, new Date()); client.misc.statusPings.get(message.guild.id).set(mention.id, new Date());
let m = await message.channel.send({embeds: [ let m = await message.channel.send({embeds: [
new Discord.MessageEmbed() new Discord.MessageEmbed()
.setAuthor(mention.tag, mention.avatarURL()) .setAuthor({name: mention.tag, iconURL: mention.avatarURL()})
.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()})` : ''}`)
.setColor('c375f0') .setColor('c375f0')
] ]

@ -32,7 +32,7 @@ class Pagination {
} }
} }
await this.message.edit({ embeds: [this.pages[page] await this.message.edit({ embeds: [this.pages[page]
.setFooter(`Natsuki | Page ${page + 1} of ${this.pages.length}`, this.client.user.avatarURL()) .setFooter({ text: `Natsuki | Page ${page + 1} of ${this.pages.length}`, iconURL: this.client.user.avatarURL() })
.setTimestamp()] .setTimestamp()]
}); });
this.currentPage = page; this.currentPage = page;
@ -118,7 +118,7 @@ class Pagination {
this.controllers.collector.stop(); this.controllers.collector.stop();
let fe = this.getCurrentPage(); let fe = this.getCurrentPage();
fe.setDescription(`${fe.description}\n\n*This menu has ended, start a new one to interact with it!*`); fe.setDescription(`${fe.description}\n\n*This menu has ended, start a new one to interact with it!*`);
fe.setFooter(`Menu Ended${fe.footer && fe.footer.text && fe.footer.text.length ? ` | ${fe.footer.text}` : ''}`, this.client.user.avatarURL()); fe.setFooter({ text: `Menu Ended${fe.footer && fe.footer.text && fe.footer.text.length ? ` | ${fe.footer.text}` : ''}`, iconURL: this.client.user.avatarURL() });
await this.message.edit({ embeds: [fe] }); await this.message.edit({ embeds: [fe] });
clearInterval(this.timeoutInterval); clearInterval(this.timeoutInterval);
return this; return this;

@ -37,7 +37,7 @@ export class Pagination {
} }
await this.message.edit({embeds: [this.pages[page] await this.message.edit({embeds: [this.pages[page]
.setFooter(`Natsuki | Page ${page + 1} of ${this.pages.length}`, this.client.user.avatarURL()) .setFooter({text: `Natsuki | Page ${page + 1} of ${this.pages.length}`, iconURL: this.client.user.avatarURL()})
.setTimestamp()] .setTimestamp()]
}); });
this.currentPage = page; this.currentPage = page;
@ -126,7 +126,7 @@ export class Pagination {
let fe = this.getCurrentPage(); let fe = this.getCurrentPage();
fe.setDescription(`${fe.description}\n\n*This menu has ended, start a new one to interact with it!*`); fe.setDescription(`${fe.description}\n\n*This menu has ended, start a new one to interact with it!*`);
fe.setFooter(`Menu Ended${fe.footer && fe.footer.text && fe.footer.text.length ? ` | ${fe.footer.text}` : ''}`, this.client.user.avatarURL()); fe.setFooter({text: `Menu Ended${fe.footer && fe.footer.text && fe.footer.text.length ? ` | ${fe.footer.text}` : ''}`, iconURL: this.client.user.avatarURL()});
await this.message.edit({embeds: [fe]}); await this.message.edit({embeds: [fe]});
clearInterval(this.timeoutInterval); clearInterval(this.timeoutInterval);

Loading…
Cancel
Save