Skip to content

Commit

Permalink
used the wrong endpoint lol
Browse files Browse the repository at this point in the history
  • Loading branch information
3vorp committed Jan 16, 2024
1 parent 86cf27f commit c6619dc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/commands/faithful/texture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ import axios from "axios";

export const command: SlashCommand = {
async data(client: Client) {
const packs: Record<string, Pack> = (
await axios.get(`${client.tokens.apiUrl}packs/search?type=all`)
).data;
const packs: Record<string, Pack> = (await axios.get(`${client.tokens.apiUrl}packs/raw`)).data;
return new SlashCommandBuilder()
.setName("texture")
.setDescription("Displays a specified texture from either vanilla Minecraft or Faithful.")
Expand Down

0 comments on commit c6619dc

Please sign in to comment.