fix owner checks

This commit is contained in:
murm 2023-03-15 10:12:35 -04:00
parent db9b70bf66
commit c841b53bdd
18 changed files with 23 additions and 23 deletions

View file

@ -15,7 +15,7 @@ class SelectImageCommand extends Command {
} else if (image.type === "tenorlimit") {
return "I've been rate-limited by Tenor. Please try uploading your GIF elsewhere.";
}
selectedImages.set(this.author.id, image);
selectedImages.set(this.author, image);
return "The image has been selected for your next command.";
}
}