Skip to content

Commit

Permalink
we do some fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
XboxBedrock committed Oct 26, 2023
1 parent b57f48b commit f12586e
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions src/commands/modpack.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import CommandMessage from "../struct/CommandMessage.js"
import JSON5 from "json5"
import fetch from "node-fetch"
import sizeOf from "buffer-image-size"
import { isURL } from "@buildtheearth/bot-utils"
import { hexToNum, isURL } from "@buildtheearth/bot-utils"

export default new Command({
name: "modpack",
Expand Down Expand Up @@ -89,11 +89,16 @@ export default new Command({
const queue = format("queue")
const store = format("store")

message.sendSuccess({
author: { name: "Image list" },
fields: [
{ name: "Queue", value: queue },
{ name: "Store", value: store }
message.send({ embeds: [
{
author: { name: "Image list" },
description: "### Queue\n" + queue,
color: hexToNum(client.config.colors.success)
},
{
description: "### Store\n" + store,
color: hexToNum(client.config.colors.success)
},
]
})
} else if (subcommand === "set") {
Expand Down

0 comments on commit f12586e

Please sign in to comment.