mirror of
https://github.com/danbulant/Shasha
synced 2026-05-24 12:22:00 +00:00
bump neko ❤️
This commit is contained in:
parent
1900f8f2d4
commit
390b0ed7b7
9 changed files with 18 additions and 18 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
const commando = require("@iceprod/discord.js-commando");
|
const commando = require("@iceprod/discord.js-commando");
|
||||||
const { trySend, defaultImageEmbed } = require("../../resources/functions");
|
const { trySend, defaultImageEmbed } = require("../../resources/functions");
|
||||||
const { default: fetchNeko } = require("nekos-best.js");
|
const { fetchNeko } = require("nekos-best.js");
|
||||||
|
|
||||||
module.exports = class baka extends commando.Command {
|
module.exports = class baka extends commando.Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|
@ -17,7 +17,7 @@ module.exports = class baka extends commando.Command {
|
||||||
msg.channel.startTyping();
|
msg.channel.startTyping();
|
||||||
const title = `${msg.guild ? msg.member.displayName : msg.author.username} is getting dere-dere~`;
|
const title = `${msg.guild ? msg.member.displayName : msg.author.username} is getting dere-dere~`;
|
||||||
const image = await fetchNeko("baka");
|
const image = await fetchNeko("baka");
|
||||||
const emb = defaultImageEmbed(msg, image); emb.setAuthor(title, msg.author.displayAvatarURL({ size: 128, format: "png", dynamic: true }));
|
const emb = defaultImageEmbed(msg, image.url); emb.setAuthor(title, msg.author.displayAvatarURL({ size: 128, format: "png", dynamic: true }));
|
||||||
return trySend(this.client, msg, emb);
|
return trySend(this.client, msg, emb);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
const commando = require("@iceprod/discord.js-commando");
|
const commando = require("@iceprod/discord.js-commando");
|
||||||
const { trySend, defaultImageEmbed } = require("../../resources/functions");
|
const { trySend, defaultImageEmbed } = require("../../resources/functions");
|
||||||
const { default: fetchNeko } = require("nekos-best.js");
|
const { fetchNeko } = require("nekos-best.js");
|
||||||
|
|
||||||
module.exports = class cry extends commando.Command {
|
module.exports = class cry extends commando.Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|
@ -17,7 +17,7 @@ module.exports = class cry extends commando.Command {
|
||||||
msg.channel.startTyping();
|
msg.channel.startTyping();
|
||||||
const title = `${msg.guild ? msg.member.displayName : msg.author.username} is crying`;
|
const title = `${msg.guild ? msg.member.displayName : msg.author.username} is crying`;
|
||||||
const image = await fetchNeko("cry");
|
const image = await fetchNeko("cry");
|
||||||
const emb = defaultImageEmbed(msg, image); emb.setAuthor(title, msg.author.displayAvatarURL({ size: 128, format: "png", dynamic: true }));
|
const emb = defaultImageEmbed(msg, image.url); emb.setAuthor(title, msg.author.displayAvatarURL({ size: 128, format: "png", dynamic: true }));
|
||||||
return trySend(this.client, msg, emb);
|
return trySend(this.client, msg, emb);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
const commando = require("@iceprod/discord.js-commando");
|
const commando = require("@iceprod/discord.js-commando");
|
||||||
const { trySend, defaultImageEmbed } = require("../../resources/functions");
|
const { trySend, defaultImageEmbed } = require("../../resources/functions");
|
||||||
const { default: fetchNeko } = require("nekos-best.js");
|
const { fetchNeko } = require("nekos-best.js");
|
||||||
|
|
||||||
module.exports = class dance extends commando.Command {
|
module.exports = class dance extends commando.Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|
@ -17,7 +17,7 @@ module.exports = class dance extends commando.Command {
|
||||||
msg.channel.startTyping();
|
msg.channel.startTyping();
|
||||||
const title = `${msg.guild ? msg.member.displayName : msg.author.username} is dancin`;
|
const title = `${msg.guild ? msg.member.displayName : msg.author.username} is dancin`;
|
||||||
const image = await fetchNeko("dance");
|
const image = await fetchNeko("dance");
|
||||||
const emb = defaultImageEmbed(msg, image); emb.setAuthor(title, msg.author.displayAvatarURL({ size: 128, format: "png", dynamic: true }));
|
const emb = defaultImageEmbed(msg, image.url); emb.setAuthor(title, msg.author.displayAvatarURL({ size: 128, format: "png", dynamic: true }));
|
||||||
return trySend(this.client, msg, emb);
|
return trySend(this.client, msg, emb);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
const commando = require("@iceprod/discord.js-commando");
|
const commando = require("@iceprod/discord.js-commando");
|
||||||
const { trySend, defaultImageEmbed } = require("../../resources/functions");
|
const { trySend, defaultImageEmbed } = require("../../resources/functions");
|
||||||
const { default: fetchNeko } = require("nekos-best.js");
|
const { fetchNeko } = require("nekos-best.js");
|
||||||
|
|
||||||
module.exports = class laugh extends commando.Command {
|
module.exports = class laugh extends commando.Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|
@ -17,7 +17,7 @@ module.exports = class laugh extends commando.Command {
|
||||||
msg.channel.startTyping();
|
msg.channel.startTyping();
|
||||||
const title = `${msg.guild ? msg.member.displayName : msg.author.username} is laughin`;
|
const title = `${msg.guild ? msg.member.displayName : msg.author.username} is laughin`;
|
||||||
const image = await fetchNeko("laugh");
|
const image = await fetchNeko("laugh");
|
||||||
const emb = defaultImageEmbed(msg, image); emb.setAuthor(title, msg.author.displayAvatarURL({ size: 128, format: "png", dynamic: true }));
|
const emb = defaultImageEmbed(msg, image.url); emb.setAuthor(title, msg.author.displayAvatarURL({ size: 128, format: "png", dynamic: true }));
|
||||||
return trySend(this.client, msg, emb);
|
return trySend(this.client, msg, emb);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
const commando = require("@iceprod/discord.js-commando");
|
const commando = require("@iceprod/discord.js-commando");
|
||||||
const { trySend, defaultImageEmbed } = require("../../resources/functions");
|
const { trySend, defaultImageEmbed } = require("../../resources/functions");
|
||||||
const { default: fetchNeko } = require("nekos-best.js");
|
const { fetchNeko } = require("nekos-best.js");
|
||||||
|
|
||||||
module.exports = class neko extends commando.Command {
|
module.exports = class neko extends commando.Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|
@ -17,7 +17,7 @@ module.exports = class neko extends commando.Command {
|
||||||
msg.channel.startTyping();
|
msg.channel.startTyping();
|
||||||
const title = `${msg.guild ? msg.member.displayName : msg.author.username} ~Nyann~`;
|
const title = `${msg.guild ? msg.member.displayName : msg.author.username} ~Nyann~`;
|
||||||
const image = await fetchNeko("nekos");
|
const image = await fetchNeko("nekos");
|
||||||
const emb = defaultImageEmbed(msg, image); emb.setAuthor(title, msg.author.displayAvatarURL({ size: 128, format: "png", dynamic: true }));
|
const emb = defaultImageEmbed(msg, image.url); emb.setAuthor(title, msg.author.displayAvatarURL({ size: 128, format: "png", dynamic: true }));
|
||||||
return trySend(this.client, msg, emb);
|
return trySend(this.client, msg, emb);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
const { default: fetchNeko } = require("nekos-best.js");
|
const { fetchNeko } = require("nekos-best.js");
|
||||||
const { parseComa, getMember, defaultImageEmbed } = require("../../../resources/functions");
|
const { parseComa, getMember, defaultImageEmbed } = require("../../../resources/functions");
|
||||||
|
|
||||||
module.exports = async (msg, arg, name, endsaT = "") => {
|
module.exports = async (msg, arg, name, endsaT = "") => {
|
||||||
|
|
@ -99,7 +99,7 @@ module.exports = async (msg, arg, name, endsaT = "") => {
|
||||||
ss = name.endsWith("s") ? name + "es" : name + "s";
|
ss = name.endsWith("s") ? name + "es" : name + "s";
|
||||||
const aT = `${shoot.displayName} ${ss} ${tN} ${tN.endsWith(" times LMFAO") ? "" : endsaT}`,
|
const aT = `${shoot.displayName} ${ss} ${tN} ${tN.endsWith(" times LMFAO") ? "" : endsaT}`,
|
||||||
count = shoot.user.DB.interactions[name] + (iC > 0 ? 1 : 0),
|
count = shoot.user.DB.interactions[name] + (iC > 0 ? 1 : 0),
|
||||||
emb = defaultImageEmbed(msg, await fetchNeko(name));
|
emb = defaultImageEmbed(msg, (await fetchNeko(name)).url);
|
||||||
let num;
|
let num;
|
||||||
if (count) {
|
if (count) {
|
||||||
const u = count?.toString();
|
const u = count?.toString();
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
const commando = require("@iceprod/discord.js-commando");
|
const commando = require("@iceprod/discord.js-commando");
|
||||||
const { trySend, defaultImageEmbed } = require("../../resources/functions");
|
const { trySend, defaultImageEmbed } = require("../../resources/functions");
|
||||||
const { default: fetchNeko } = require("nekos-best.js");
|
const { fetchNeko } = require("nekos-best.js");
|
||||||
|
|
||||||
module.exports = class smile extends commando.Command {
|
module.exports = class smile extends commando.Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|
@ -17,7 +17,7 @@ module.exports = class smile extends commando.Command {
|
||||||
msg.channel.startTyping();
|
msg.channel.startTyping();
|
||||||
const title = `${msg.guild ? msg.member.displayName : msg.author.username} is smilin`;
|
const title = `${msg.guild ? msg.member.displayName : msg.author.username} is smilin`;
|
||||||
const image = await fetchNeko("smile");
|
const image = await fetchNeko("smile");
|
||||||
const emb = defaultImageEmbed(msg, image); emb.setAuthor(title, msg.author.displayAvatarURL({ size: 128, format: "png", dynamic: true }));
|
const emb = defaultImageEmbed(msg, image.url); emb.setAuthor(title, msg.author.displayAvatarURL({ size: 128, format: "png", dynamic: true }));
|
||||||
return trySend(this.client, msg, emb);
|
return trySend(this.client, msg, emb);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
const commando = require("@iceprod/discord.js-commando");
|
const commando = require("@iceprod/discord.js-commando");
|
||||||
const { trySend, defaultImageEmbed } = require("../../resources/functions");
|
const { trySend, defaultImageEmbed } = require("../../resources/functions");
|
||||||
const { default: fetchNeko } = require("nekos-best.js");
|
const { fetchNeko } = require("nekos-best.js");
|
||||||
|
|
||||||
module.exports = class smug extends commando.Command {
|
module.exports = class smug extends commando.Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|
@ -17,7 +17,7 @@ module.exports = class smug extends commando.Command {
|
||||||
msg.channel.startTyping();
|
msg.channel.startTyping();
|
||||||
const title = `${msg.guild ? msg.member.displayName : msg.author.username} got a smug face`;
|
const title = `${msg.guild ? msg.member.displayName : msg.author.username} got a smug face`;
|
||||||
const image = await fetchNeko("smug");
|
const image = await fetchNeko("smug");
|
||||||
const emb = defaultImageEmbed(msg, image); emb.setAuthor(title, msg.author.displayAvatarURL({ size: 128, format: "png", dynamic: true }));
|
const emb = defaultImageEmbed(msg, image.url); emb.setAuthor(title, msg.author.displayAvatarURL({ size: 128, format: "png", dynamic: true }));
|
||||||
return trySend(this.client, msg, emb);
|
return trySend(this.client, msg, emb);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
const commando = require("@iceprod/discord.js-commando");
|
const commando = require("@iceprod/discord.js-commando");
|
||||||
const { trySend, defaultImageEmbed } = require("../../resources/functions");
|
const { trySend, defaultImageEmbed } = require("../../resources/functions");
|
||||||
const { default: fetchNeko } = require("nekos-best.js");
|
const { fetchNeko } = require("nekos-best.js");
|
||||||
|
|
||||||
module.exports = class wave extends commando.Command {
|
module.exports = class wave extends commando.Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
|
|
@ -17,7 +17,7 @@ module.exports = class wave extends commando.Command {
|
||||||
msg.channel.startTyping();
|
msg.channel.startTyping();
|
||||||
const title = `${msg.guild ? msg.member.displayName : msg.author.username} is waving`;
|
const title = `${msg.guild ? msg.member.displayName : msg.author.username} is waving`;
|
||||||
const image = await fetchNeko("wave");
|
const image = await fetchNeko("wave");
|
||||||
const emb = defaultImageEmbed(msg, image); emb.setAuthor(title, msg.author.displayAvatarURL({ size: 128, format: "png", dynamic: true }));
|
const emb = defaultImageEmbed(msg, image.url); emb.setAuthor(title, msg.author.displayAvatarURL({ size: 128, format: "png", dynamic: true }));
|
||||||
return trySend(this.client, msg, emb);
|
return trySend(this.client, msg, emb);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Loading…
Reference in a new issue