Fix emote, help, and Select Image
This commit is contained in:
parent
d7597ee2b0
commit
238f44967b
3 changed files with 4 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue