We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8631ff0 commit c5ff15dCopy full SHA for c5ff15d
.changeset/cyan-trainers-whisper.md
@@ -0,0 +1,5 @@
1
+---
2
+'jellycommands': patch
3
4
+
5
+fix event.run types
packages/jellycommands/src/events/Event.ts
@@ -8,7 +8,7 @@ type Awaitable<T> = Promise<T> | T;
8
export type EventCallback<EventName extends keyof ClientEvents> = (
9
instance: { client: JellyCommands },
10
...args: ClientEvents[EventName]
11
-) => Awaitable<void>;
+) => Awaitable<void | any>;
12
13
export class Event<T extends keyof ClientEvents> {
14
public readonly options: Required<EventOptions<T>>;
0 commit comments