1 |
import path from 'path'; |
import path from 'path'; |
2 |
import { promises as fs } from 'fs'; |
import { promises as fs } from 'fs'; |
3 |
import DiscordClient from '../client/Client'; |
import DiscordClient from '../client/Client'; |
4 |
import { registered, registrationStart } from './debug'; |
import { registered } from './debug'; |
5 |
|
|
6 |
export async function registerCLICommands(client: DiscordClient, dir: string = '') { |
export async function registerCLICommands(client: DiscordClient, dir: string = '') { |
7 |
const filePath = path.join(__dirname, dir); |
const filePath = path.join(__dirname, dir); |