fixing broken things uwu

This commit is contained in:
monty 2019-11-20 18:05:10 +01:00
parent 5adbaf0218
commit 7f10c52bb6
4 changed files with 10 additions and 5 deletions

View file

@ -43,13 +43,13 @@ module.exports = class nHold extends Command {
let req;
let Message;
await yiff.furrybot.nsfw.hold().then((E) => (req = E));
await yiff.sheri.nsfw.hold().then((E) => (req = E));
if (Settings.embeds) {
Message = new MessageEmbed()
.setColor(ctx.config.color)
.setImage(req)
.setFooter(`${ctx.client.user.username} - Provided by furry.bot`, ctx.client.user.avatarURL());
.setImage(req.url)
.setFooter(`${ctx.client.user.username} - Provided by sheri.bot`, ctx.client.user.avatarURL());
if (Line) {
Message.setDescription(Line);
}