aboutsummaryrefslogtreecommitdiff
path: root/src/bot.ts
diff options
context:
space:
mode:
authorMax Isom <[email protected]>2021-09-19 22:04:34 -0400
committerMax Isom <[email protected]>2021-09-19 22:09:09 -0400
commitfd782219eff8016a00e87f0c8e44af3a3ba74be6 (patch)
tree2de37667318794427406b45848a7bf699c9e1a6f /src/bot.ts
parentefcdeb78c8b690bc544dac1ed0be96a6693bcff6 (diff)
downloadmuse-fd782219eff8016a00e87f0c8e44af3a3ba74be6.tar.xz
muse-fd782219eff8016a00e87f0c8e44af3a3ba74be6.zip
Move to ESM, use ytsr, implement caching
Closes #315
Diffstat (limited to 'src/bot.ts')
-rw-r--r--src/bot.ts22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/bot.ts b/src/bot.ts
index 00deb17..6e6060b 100644
--- a/src/bot.ts
+++ b/src/bot.ts
@@ -1,16 +1,16 @@
import {Client, Message, Collection} from 'discord.js';
import {inject, injectable} from 'inversify';
-import {TYPES} from './types';
-import {Settings, Shortcut} from './models';
-import container from './inversify.config';
-import Command from './commands';
-import debug from './utils/debug';
-import NaturalLanguage from './services/natural-language-commands';
-import handleGuildCreate from './events/guild-create';
-import handleVoiceStateUpdate from './events/voice-state-update';
-import errorMsg from './utils/error-msg';
-import {isUserInVoice} from './utils/channels';
-import Config from './services/config';
+import {TYPES} from './types.js';
+import {Settings, Shortcut} from './models/index.js';
+import container from './inversify.config.js';
+import Command from './commands/index.js';
+import debug from './utils/debug.js';
+import NaturalLanguage from './services/natural-language-commands.js';
+import handleGuildCreate from './events/guild-create.js';
+import handleVoiceStateUpdate from './events/voice-state-update.js';
+import errorMsg from './utils/error-msg.js';
+import {isUserInVoice} from './utils/channels.js';
+import Config from './services/config.js';
@injectable()
export default class {