mirror of
https://github.com/System-End/Discord-Bot.git
synced 2026-04-19 19:45:16 +00:00
interaction.editreply is not a function
This commit is contained in:
parent
75bfe9e5fa
commit
43e7be5bd7
18 changed files with 18 additions and 18 deletions
|
|
@ -10,7 +10,7 @@ module.exports = async (client, interaction, args) => {
|
|||
const image = await pop.ad(userAvatar);
|
||||
let attach = new Discord.MessageAttachment(image, "ad.png");
|
||||
|
||||
interaction.editreply({ files: [attach] })
|
||||
interaction.editReply({ files: [attach] })
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ module.exports = async (client, interaction, args) => {
|
|||
const img = await Canvas.bed(interaction.user.avatarURL({ size: 1024, format: 'png' }), userAvatar);
|
||||
|
||||
let attach = new Discord.MessageAttachment(img, "bed.png");;
|
||||
interaction.editreply({ files: [attach] })
|
||||
interaction.editReply({ files: [attach] })
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -12,7 +12,7 @@ module.exports = async (client, interaction, args) => {
|
|||
const img = await Canvas.burn(userAvatar, lvl);
|
||||
|
||||
let attach = new Discord.MessageAttachment(img, "blurred.png");;
|
||||
interaction.editreply({ files: [attach] })
|
||||
interaction.editReply({ files: [attach] })
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -6,5 +6,5 @@ module.exports = async (client, interaction, args) => {
|
|||
const image = await pop.car();
|
||||
let attach = new Discord.MessageAttachment(image.image, "car.png");
|
||||
|
||||
interaction.editreply({ files: [attach] })
|
||||
interaction.editReply({ files: [attach] })
|
||||
};
|
||||
|
|
@ -10,7 +10,7 @@ module.exports = async (client, interaction, args) => {
|
|||
const image = await pop.clown(userAvatar);
|
||||
let attach = new Discord.MessageAttachment(image, "clown.png");
|
||||
|
||||
interaction.editreply({ files: [attach] })
|
||||
interaction.editReply({ files: [attach] })
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -10,7 +10,7 @@ module.exports = async (client, interaction, args) => {
|
|||
const image = await pop.colorify(userAvatar);
|
||||
let attach = new Discord.MessageAttachment(image, "colorify.png");
|
||||
|
||||
interaction.editreply({ files: [attach] })
|
||||
interaction.editReply({ files: [attach] })
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -12,7 +12,7 @@ module.exports = async (client, interaction, args) => {
|
|||
const image = await Canvas.darkness(userAvatar, amount);
|
||||
let attach = new Discord.MessageAttachment(image, "blurred.gif");
|
||||
|
||||
interaction.editreply({ files: [attach] })
|
||||
interaction.editReply({ files: [attach] })
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -9,7 +9,7 @@ module.exports = async (client, interaction, args) => {
|
|||
const image = await pop.drake(splitArgs1, splitArgs2);
|
||||
let attach = new Discord.MessageAttachment(image, "drake.png");
|
||||
|
||||
interaction.editreply({ files: [attach] })
|
||||
interaction.editReply({ files: [attach] })
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -10,7 +10,7 @@ module.exports = async (client, interaction, args) => {
|
|||
const image = await Canvas.facepalm(userAvatar);
|
||||
let attach = new Discord.MessageAttachment(image, "facepalm.png");
|
||||
|
||||
interaction.editreply({ files: [attach] })
|
||||
interaction.editReply({ files: [attach] })
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -5,5 +5,5 @@ module.exports = async (client, interaction, args) => {
|
|||
let link = `https://some-random-api.ml/canvas/glass/?avatar=${interaction.user.avatarURL({ size: 1024, format: 'png' })}`
|
||||
const attachment = new Discord.MessageAttachment(link, 'glass.png');
|
||||
|
||||
interaction.editreply({ files: [attachment] })
|
||||
interaction.editReply({ files: [attachment] })
|
||||
};
|
||||
|
|
@ -10,7 +10,7 @@ module.exports = async (client, interaction, args) => {
|
|||
const image = await pop.greyscale(userAvatar);
|
||||
let attach = new Discord.MessageAttachment(image, "greyscale.png");
|
||||
|
||||
interaction.editreply({ files: [attach] })
|
||||
interaction.editReply({ files: [attach] })
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -10,7 +10,7 @@ module.exports = async (client, interaction, args) => {
|
|||
const image = await pop.invert(userAvatar);
|
||||
let attach = new Discord.MessageAttachment(image, "invert.png");
|
||||
|
||||
interaction.editreply({ files: [attach] })
|
||||
interaction.editReply({ files: [attach] })
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -10,7 +10,7 @@ module.exports = async (client, interaction, args) => {
|
|||
const image = await new DIG.Kiss().getImage(avatar, userAvatar);
|
||||
let attach = new Discord.MessageAttachment(image, "kiss.png");
|
||||
|
||||
interaction.editreply({ files: [attach] })
|
||||
interaction.editReply({ files: [attach] })
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -13,7 +13,7 @@ module.exports = async (client, interaction, args) => {
|
|||
var img = await new DIG.Podium().getImage(user1Avatar, user2Avatar, user3Avatar, user1.tag, user2.tag, user3.tag);
|
||||
var attach = new Discord.MessageAttachment(img, "podium.png");
|
||||
|
||||
interaction.editreply({ files: [attach] })
|
||||
interaction.editReply({ files: [attach] })
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -9,7 +9,7 @@ module.exports = async (client, interaction, args) => {
|
|||
const image = await pop.pooh(splitArgs1, splitArgs2);
|
||||
let attach = new Discord.MessageAttachment(image, "pooh.png");
|
||||
|
||||
interaction.editreply({ files: [attach] })
|
||||
interaction.editReply({ files: [attach] })
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ module.exports = async (client, interaction, args) => {
|
|||
const image = await new DIG.Spank().getImage(avatar, userAvatar);
|
||||
let attach = new Discord.MessageAttachment(image, "spank.png");
|
||||
|
||||
interaction.editreply({ files: [attach] })
|
||||
interaction.editReply({ files: [attach] })
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -5,5 +5,5 @@ module.exports = async (client, interaction, args) => {
|
|||
let link = `https://some-random-api.ml/canvas/triggered/?avatar=${interaction.user.avatarURL({ size: 1024, format: 'png' })}`
|
||||
const attachment = new Discord.MessageAttachment(link, 'triggered.gif');
|
||||
|
||||
interaction.editreply({ files: [attachment] })
|
||||
interaction.editReply({ files: [attachment] })
|
||||
};
|
||||
|
|
@ -8,7 +8,7 @@ module.exports = async (client, interaction, args) => {
|
|||
let img = await new DIG.Wanted().getImage(userAvatar, `€`);
|
||||
let attach = new Discord.MessageAttachment(img, "wanted.png");;
|
||||
|
||||
interaction.editreply({ files: [attach] })
|
||||
interaction.editReply({ files: [attach] })
|
||||
}
|
||||
|
||||
|
||||
Loading…
Add table
Reference in a new issue