fixing twurple switch
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { EventName } from "./registry";
|
||||
import type { EventName } from "./registry.ts";
|
||||
|
||||
export interface IEvent {
|
||||
name: EventName;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { ChatClient } from "@twurple/chat";
|
||||
import ConnectedEvent from "./event-connected";
|
||||
import MessageEvent from "./event-message";
|
||||
import type { IEvent } from "./interface";
|
||||
import ConnectedEvent from "./event-connected.ts";
|
||||
import MessageEvent from "./event-message.ts";
|
||||
import type { IEvent } from "./interface.ts";
|
||||
|
||||
export const eventRegistry = {
|
||||
message: (client: ChatClient, handler: IEvent) =>
|
||||
|
||||
Reference in New Issue
Block a user