Skip to content

Commit 4c09709

Browse files
committed
aaa
1 parent 7bb152f commit 4c09709

13 files changed

Lines changed: 24 additions & 32 deletions

File tree

package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,5 @@
3131
"pg": "^8.20.0",
3232
"tsx": "^4.21.0",
3333
"zod": "^4.4.3"
34-
},
35-
"imports": {
36-
"#/*": ["./dist/*"],
37-
"#database": ["./dist/libs/database.js"]
3834
}
3935
}

src/base/classes/command.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
SlashCommandOptionsOnlyBuilder,
99
SlashCommandSubcommandsOnlyBuilder,
1010
} from 'discord.js';
11-
import { logger } from '#/libs/logger.js';
11+
import { logger } from '../../libs/logger.js';
1212

1313
type DiscordSlashCommandBuilder =
1414
| SlashCommandBuilder

src/commands/booster.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import {
1414
getActiveBoosters,
1515
getTotalBoosts,
1616
registerBoost,
17-
} from "#/services/boosterService.js";
18-
import { Command } from "#/base/classes/command.js";
17+
} from "../services/boosterService.js";
18+
import { Command } from "../base/classes/command.js";
1919

2020
export default new Command({
2121
info: new SlashCommandBuilder()

src/commands/info.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
ActionRowBuilder,
77
} from "discord.js";
88
import axios from "axios";
9-
import { Command } from "#/base/classes/command.js";
9+
import { Command } from "../base/classes/command.js";
1010
import packageInfo from "../../package.json" with { type: "json" };
1111

1212
interface GithubRes {

src/commands/reload.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import "#/libs/loadVariables.js";
1+
import "../libs/loadVariables.js";
22
import {
33
SlashCommandBuilder,
44
MessageFlags,
55
} from "discord.js";
6-
import { loadCommands } from "#/libs/loadCommands.js";
7-
import { Command } from "#/base/classes/command.js";
6+
import { loadCommands } from "../libs/loadCommands.js";
7+
import { Command } from "../base/classes/command.js";
88

99
export default new Command({
1010
info: new SlashCommandBuilder()

src/commands/role.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ import {
55
TextDisplayBuilder,
66
MessageFlags,
77
} from "discord.js";
8-
import { ensureBoosterWhileBoosting, getBooster } from "#/services/boosterService.js";
8+
import { ensureBoosterWhileBoosting, getBooster } from "../services/boosterService.js";
99
import {
1010
createCustomRole,
1111
updateCustomRole,
1212
deleteCustomRole,
13-
} from "#/services/roleService.js";
14-
import { Command } from "#/base/classes/command.js";
13+
} from "../services/roleService.js";
14+
import { Command } from "../base/classes/command.js";
1515

1616
const ACCENT = 0xe642a4;
1717

src/commands/settings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
ChannelType,
55
LabelBuilder,
66
} from "discord.js";
7-
import { Command } from "#/base/classes/command.js";
7+
import { Command } from "../base/classes/command.js";
88

99
export default new Command({
1010
info: new SlashCommandBuilder()

src/commands/setup.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import {
66
MessageFlags,
77
ContainerBuilder,
88
} from "discord.js";
9-
import { Command } from "#/base/classes/command.js";
10-
import { prisma } from "#/libs/database.js";
11-
import { SystemColors } from "#/libs/colors.js";
9+
import { Command } from "../base/classes/command.js";
10+
import { prisma } from "../libs/database.js";
11+
import { SystemColors } from "../libs/colors.js";
1212

1313
export default new Command({
1414
info: new SlashCommandBuilder()

src/events/clientReady.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Client, Events } from "discord.js";
2-
import { logger } from "#/libs/logger.js";
2+
import { logger } from "../libs/logger.js";
33

44
export default {
55
name: Events.ClientReady,

src/events/guildMemberUpdate.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import "#/libs/loadVariables.js";
1+
import "../libs/loadVariables.js";
22
import {
33
Client,
44
EmbedBuilder,
@@ -11,13 +11,13 @@ import {
1111
removeBoost,
1212
scheduleCustomRoleDeletionAfterGrace,
1313
clearPendingCustomRoleDeletion,
14-
} from "#/services/boosterService.js";
14+
} from "../services/boosterService.js";
1515
import {
1616
assignLevelRoles,
1717
removeAllLevelRoles,
18-
} from "#/services/roleService.js";
19-
import { logger } from "#/libs/logger.js";
20-
import { prisma } from "#database";
18+
} from "../services/roleService.js";
19+
import { logger } from "../libs/logger.js";
20+
import { prisma } from "../libs/database.js";
2121

2222
export default {
2323
name: Events.GuildMemberUpdate,

0 commit comments

Comments
 (0)