Skip to content

Commit fe9d78f

Browse files
committed
refactor: e621 Command Error Updated
1 parent 88cdad5 commit fe9d78f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/commands/nsfw/e621.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ module.exports = class e621Command extends Command {
2626
.setImage(post.fileUrl)
2727
message.channel.send({ embed })
2828
}
29-
}).catch(e => message.channel.send("error "+e))
29+
}).catch(() => {
30+
message.channel.send("No results found.")
31+
})
3032
}
3133
};

0 commit comments

Comments
 (0)