Skip to content

Commit 01c5113

Browse files
committedDec 5, 2023
fix(editable-commands): expose load* methods on the index level in case register isn't used
1 parent 3fcd9a2 commit 01c5113

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

‎packages/editable-commands/src/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
export * from '@skyra/editable-commands';
22

3+
export { loadListeners } from './listeners/_load';
4+
35
/**
46
* The [@sapphire/plugin-editable-commands](https://github.com/sapphiredev/plugins/blob/main/packages/editable-commands)
57
* version that you are currently using.

‎packages/editable-commands/src/register.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Plugin, postInitialization, SapphireClient } from '@sapphire/framework';
2-
import { loadListeners } from './listeners/_load';
2+
import { loadListeners } from './index';
33

44
/**
55
* @since 1.0.0

0 commit comments

Comments
 (0)
Please sign in to comment.