1 |
#!/usr/bin/ts-node |
#!/usr/bin/ts-node |
2 |
|
|
3 |
import { registerCLICommands, registerCommands, registerEvents } from './utils/registry'; |
import { registerCLICommands } from './utils/registry'; |
4 |
import DiscordClient from './client/Client'; |
import DiscordClient from './client/Client'; |
5 |
import { Intents } from 'discord.js'; |
import { Intents } from 'discord.js'; |
6 |
import { config } from 'dotenv'; |
import { config } from 'dotenv'; |
7 |
import { existsSync } from 'fs'; |
import { existsSync } from 'fs'; |
8 |
import path from 'path'; |
import path from 'path'; |
|
import { registrationEnd, registrationStart } from './utils/debug'; |
|
9 |
import { yellow } from './utils/util'; |
import { yellow } from './utils/util'; |
10 |
|
|
11 |
if (existsSync(path.join(__dirname, '../.env'))) { |
if (existsSync(path.join(__dirname, '../.env'))) { |