Fix emote, help, and Select Image

This commit is contained in:
Essem 2022-09-24 12:58:59 -05:00
parent d7597ee2b0
commit 238f44967b
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C
3 changed files with 4 additions and 5 deletions

View file

@ -4,7 +4,7 @@ import { selectedImages } from "../../utils/collections.js";
class SelectImageCommand extends Command {
async run() {
const message = this.interaction.data.resolved.messages.get(this.interaction.data.target_id);
const message = this.interaction.data.target;
const image = await imageDetect(this.client, message, this.interaction, this.options, true, false, false, true);
this.success = false;
if (image === undefined) {