Skip to content

Commit

Permalink
fix: paths
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklvh committed Feb 4, 2024
1 parent bc28df4 commit 2f02e9b
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/commands/fun/cat.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Command } from "@sapphire/framework";
import { fetch, FetchResultTypes } from "@sapphire/fetch";
import { EmbedBuilder } from "discord.js";
import type { APIPetResponse } from "#types/Util";
import type { APIPetResponse } from "#utils";
import { ApplyOptions } from "@sapphire/decorators";

@ApplyOptions<Command.Options>({
Expand Down
2 changes: 1 addition & 1 deletion src/commands/fun/dog.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Command } from "@sapphire/framework";
import { fetch, FetchResultTypes } from "@sapphire/fetch";
import { EmbedBuilder } from "discord.js";
import type { APIPetResponse } from "#types/Util";
import type { APIPetResponse } from "#utils";
import { ApplyOptions } from "@sapphire/decorators";

@ApplyOptions<Command.Options>({
Expand Down
2 changes: 1 addition & 1 deletion src/commands/fun/duck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Command } from "@sapphire/framework";
import { fetch, FetchResultTypes } from "@sapphire/fetch";
import { EmbedBuilder } from "discord.js";
import { ApplyOptions } from "@sapphire/decorators";
import type { APIPetInterface } from "#types/index";
import type { APIPetInterface } from "#utils";

@ApplyOptions<Command.Options>({
name: "duck",
Expand Down
2 changes: 1 addition & 1 deletion src/commands/moderation/infractions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
import { ApplyOptions } from "@sapphire/decorators";
import { PaginatedMessage } from "@sapphire/discord.js-utilities";
import { chunk } from "@sapphire/utilities";
import { ModerationTypeStrings } from "#types/index";
import { ModerationTypeStrings } from "#utils";

@ApplyOptions<Command.Options>({
name: "infractions",
Expand Down
3 changes: 1 addition & 2 deletions src/listeners/guild/channelCreate.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { auditlogChecks } from "#classes/Utils";
import { ChannelTypeNames } from "#types/Util";
import { auditlogChecks, ChannelTypeNames } from "#utils";
import { ApplyOptions } from "@sapphire/decorators";
import { Events, Listener } from "@sapphire/framework";
import { EmbedBuilder, type GuildChannel } from "discord.js";
Expand Down
2 changes: 1 addition & 1 deletion src/listeners/guild/messageDelete.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { auditlogChecks } from "#classes/Utils";
import { auditlogChecks } from "#utils";
import { ApplyOptions } from "@sapphire/decorators";
import { Events, Listener } from "@sapphire/framework";
import { EmbedBuilder, type Message } from "discord.js";
Expand Down
2 changes: 1 addition & 1 deletion src/listeners/guild/messageUpdate.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { auditlogChecks } from "#classes/Utils";
import { auditlogChecks } from "#utils";
import { ApplyOptions } from "@sapphire/decorators";
import { Events, Listener } from "@sapphire/framework";
import { EmbedBuilder, type Message } from "discord.js";
Expand Down
2 changes: 1 addition & 1 deletion src/listeners/guild/roleCreate.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { auditlogChecks } from "#classes/Utils";
import { auditlogChecks } from "#utils";
import { ApplyOptions } from "@sapphire/decorators";
import { Events, Listener } from "@sapphire/framework";
import { EmbedBuilder, roleMention, type Role } from "discord.js";
Expand Down
2 changes: 1 addition & 1 deletion src/listeners/guild/roleDelete.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { auditlogChecks } from "#classes/Utils";
import { auditlogChecks } from "#utils";
import { ApplyOptions } from "@sapphire/decorators";
import { Events, Listener } from "@sapphire/framework";
import { EmbedBuilder, roleMention, type Role } from "discord.js";
Expand Down
2 changes: 1 addition & 1 deletion src/listeners/guild/roleUpdate.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { auditlogChecks } from "#classes/Utils";
import { auditlogChecks } from "#utils";
import { ApplyOptions } from "@sapphire/decorators";
import { Events, Listener } from "@sapphire/framework";
import { EmbedBuilder, roleMention, type Role } from "discord.js";
Expand Down
13 changes: 5 additions & 8 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,11 @@
"@sapphire/ts-config/extra-strict"
],
"compilerOptions": {
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo",
"outDir": "../dist",
"baseUrl": "src/",
"outDir": "dist",
"baseUrl": "src",
"paths": {
"#classes/*": ["lib/classes/*"],
"#api/*": ["lib/api/*"],
"#types/*": ["lib/types/*"]
},
"composite": true
"#classes": ["lib/classes"],
"#utils": ["lib/utils"]
}
}
}

0 comments on commit 2f02e9b

Please sign in to comment.