Skip to content

Commit

Permalink
correct prefix command magnify buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
3vorp committed Oct 11, 2023
1 parent 104dc48 commit 35e6180
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/helpers/prefixCommandHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { magnifyToAttachment } from "./images/magnify";
import getImage, { imageNotFound } from "./getImage";
import { tileToAttachment, tileTooBig } from "./images/tile";
import { paletteToAttachment, paletteTooBig } from "./images/palette";
import { imageButtons } from "@utility/buttons";
import { imageButtons, magnifyButtons } from "@utility/buttons";

export default async function prefixCommandHandler(message: Message) {
const args = message.content.split(" ");
Expand All @@ -25,7 +25,7 @@ export default async function prefixCommandHandler(message: Message) {
return await message
.reply({
files: [await magnifyToAttachment(url)],
components: [imageButtons],
components: [magnifyButtons],
})
.then((message: Message) => message.deleteButton());
case "t":
Expand Down

0 comments on commit 35e6180

Please sign in to comment.