Skip to content

Commit 18d612e

Browse files
committed
refactor: adjust imports paths
1 parent 07356b6 commit 18d612e

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/commands/docs/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ApplicationCommandOptionType } from 'discord.js';
2-
import { createCommands } from '../index.js';
2+
import { createCommands } from '../../util/commands.js';
33
import { type DocProvider, docProviders, executeDocCommand } from './providers.js';
44

55
export const docsCommands = createCommands(

src/commands/guides/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ApplicationCommandOptionType, ApplicationCommandType, MessageFlags } from 'discord.js';
22
import { logToChannel } from '../../util/channel-logging.js';
3+
import { createCommand } from '../../util/commands.js';
34
import { loadMarkdownOptions } from '../../util/markdown.js';
4-
import { createCommand } from '../index.js';
55

66
const subjectsDir = new URL('./subjects/', import.meta.url);
77
const subjectChoices = new Map<string, string>();

src/commands/ping.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { createCommand } from './index.js';
1+
import { createCommand } from '../util/commands.js';
22

33
export const pingCommand = createCommand(
44
{

src/commands/tips/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ApplicationCommandOptionType, ApplicationCommandType, MessageFlags } from 'discord.js';
22
import { logToChannel } from '../../util/channel-logging.js';
3+
import { createCommand } from '../../util/commands.js';
34
import { loadMarkdownOptions } from '../../util/markdown.js';
4-
import { createCommand } from '../index.js';
55

66
const subjectsDir = new URL('./subjects/', import.meta.url);
77
const subjectChoices = new Map<string, string>();

0 commit comments

Comments
 (0)