File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { ApplicationCommandOptionType } from 'discord.js' ;
2- import { createCommands } from '../index .js' ;
2+ import { createCommands } from '../../util/commands .js' ;
33import { type DocProvider , docProviders , executeDocCommand } from './providers.js' ;
44
55export const docsCommands = createCommands (
Original file line number Diff line number Diff line change 11import { ApplicationCommandOptionType , ApplicationCommandType , MessageFlags } from 'discord.js' ;
22import { logToChannel } from '../../util/channel-logging.js' ;
3+ import { createCommand } from '../../util/commands.js' ;
34import { loadMarkdownOptions } from '../../util/markdown.js' ;
4- import { createCommand } from '../index.js' ;
55
66const subjectsDir = new URL ( './subjects/' , import . meta. url ) ;
77const subjectChoices = new Map < string , string > ( ) ;
Original file line number Diff line number Diff line change 1- import { createCommand } from './index .js' ;
1+ import { createCommand } from '../util/commands .js' ;
22
33export const pingCommand = createCommand (
44 {
Original file line number Diff line number Diff line change 11import { ApplicationCommandOptionType , ApplicationCommandType , MessageFlags } from 'discord.js' ;
22import { logToChannel } from '../../util/channel-logging.js' ;
3+ import { createCommand } from '../../util/commands.js' ;
34import { loadMarkdownOptions } from '../../util/markdown.js' ;
4- import { createCommand } from '../index.js' ;
55
66const subjectsDir = new URL ( './subjects/' , import . meta. url ) ;
77const subjectChoices = new Map < string , string > ( ) ;
You can’t perform that action at this time.
0 commit comments