|
1 | 1 | import { GatewayIntentBits, Partials, Client } from "discord.js"; |
2 | 2 | import * as sentry from "@sentry/node"; |
3 | 3 |
|
4 | | -import { readConfig, databasePath, args } from "#service/config.ts"; |
| 4 | +import { readConfig, databasePath, args } from "#/service/config.ts"; |
5 | 5 | import log from "#log"; |
6 | 6 |
|
7 | 7 | import { Temporal } from "@js-temporal/polyfill"; |
8 | | -import "#polyfills.ts"; |
| 8 | +import "#/polyfills.ts"; |
9 | 9 |
|
10 | | -import * as kysely from "#storage/db/db.ts"; |
| 10 | +import * as kysely from "#/storage/db/db.ts"; |
11 | 11 |
|
12 | | -import type { ReactionHandler } from "#handler/ReactionHandler.ts"; |
13 | | -import messageDeleteHandler from "#handler/messageDeleteHandler.ts"; |
14 | | -import { woisVoteReactionHandler } from "#commands/woisvote.ts"; |
15 | | -import * as voiceStateService from "#service/voiceState.ts"; |
| 12 | +import type { ReactionHandler } from "#/handler/ReactionHandler.ts"; |
| 13 | +import messageDeleteHandler from "#/handler/messageDeleteHandler.ts"; |
| 14 | +import { woisVoteReactionHandler } from "#/commands/woisvote.ts"; |
| 15 | +import * as voiceStateService from "#/service/voiceState.ts"; |
16 | 16 |
|
17 | | -import roleAssignerHandler from "#handler/reaction/roleAssignerHandler.ts"; |
18 | | -import pollReactionHandler from "#handler/reaction/pollReactionHandler.ts"; |
19 | | -import logEmotesReactionHandler from "#handler/reaction/logEmotesReactionHandler.ts"; |
20 | | -import quoteReactionHandler from "#handler/reaction/quoteHandler.ts"; |
| 17 | +import roleAssignerHandler from "#/handler/reaction/roleAssignerHandler.ts"; |
| 18 | +import pollReactionHandler from "#/handler/reaction/pollReactionHandler.ts"; |
| 19 | +import logEmotesReactionHandler from "#/handler/reaction/logEmotesReactionHandler.ts"; |
| 20 | +import quoteReactionHandler from "#/handler/reaction/quoteHandler.ts"; |
21 | 21 |
|
22 | 22 | import { |
23 | 23 | handleInteractionEvent, |
24 | 24 | loadCommands, |
25 | 25 | messageCommandHandler, |
26 | 26 | registerAllApplicationCommandsAsGuildCommands, |
27 | | -} from "#handler/commandHandler.ts"; |
28 | | -import * as guildMemberHandler from "#handler/guildMemberHandler.ts"; |
29 | | -import deleteThreadMessagesHandler from "#handler/messageCreate/deleteThreadMessagesHandler.ts"; |
30 | | -import { handlePresenceUpdate } from "#handler/presenceHandler.ts"; |
31 | | -import { createBotContext, type BotContext } from "#context.ts"; |
32 | | -import { ehreReactionHandler } from "#commands/ehre.ts"; |
33 | | -import * as terminal from "#utils/terminal.ts"; |
34 | | -import * as dateUtils from "#utils/dateUtils.ts"; |
35 | | -import * as cronService from "#service/cron.ts"; |
| 27 | +} from "#/handler/commandHandler.ts"; |
| 28 | +import * as guildMemberHandler from "#/handler/guildMemberHandler.ts"; |
| 29 | +import deleteThreadMessagesHandler from "#/handler/messageCreate/deleteThreadMessagesHandler.ts"; |
| 30 | +import { handlePresenceUpdate } from "#/handler/presenceHandler.ts"; |
| 31 | +import { createBotContext, type BotContext } from "#/context.ts"; |
| 32 | +import { ehreReactionHandler } from "#/commands/ehre.ts"; |
| 33 | +import * as terminal from "#/utils/terminal.ts"; |
| 34 | +import * as dateUtils from "#/utils/dateUtils.ts"; |
| 35 | +import * as cronService from "#/service/cron.ts"; |
36 | 36 |
|
37 | 37 | const env = process.env; |
38 | 38 |
|
|
0 commit comments