diff options
Diffstat (limited to 'src/index.ts')
| -rw-r--r-- | src/index.ts | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts index 7e5a5db..62cfdcb 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,11 +1,12 @@  import { EventClient } from "./events/index";  import { buildHandler } from "./handler";  import { commands } from "./commands"; +import { rest } from "./rest";  /**   * We instanciate our nova broken client.   */ -const emitter = new EventClient(); +const emitter = new EventClient(rest);  // We register our slash command handler.  emitter.on("interactionCreate", buildHandler(commands));  | 
