Skip to content

Commit

Permalink
chore: rename
Browse files Browse the repository at this point in the history
  • Loading branch information
zaida04 committed Mar 28, 2024
1 parent fcb37c4 commit c45e132
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
Binary file modified bun.lockb
Binary file not shown.
3 changes: 1 addition & 2 deletions packages/gil/lib/GilClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import TypedEmitter from "typed-emitter";
import { DatabaseAdapter } from "./adapters/db/DatabaseAdapter";
import { ConsoleAdapter } from "./adapters/logging/ConsoleAdapter";
import { LoggerAdapter } from "./adapters/logging/LoggerAdapter";
import { ListenerManager } from "./defaults/ListenerManager";
import { GilEvents } from "./events";
import { CommandManager } from "./structures/Command";
import { ListenerManager } from "./structures/ListenerManager";
import { TaskManager } from "./structures/Task";

interface GilClientOptions {
Expand All @@ -32,7 +32,6 @@ export class GilClient {
public readonly emitter = new EventEmitter() as TypedEmitter<GilEvents>;
public readonly logger = this.options.loggingAdapter ?? new ConsoleAdapter();
public readonly db = this.options.databaseAdapter;

public readonly commands = new CommandManager(this);
public readonly listeners = new ListenerManager(this);
public readonly tasks = new TaskManager(this);
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { Collection } from "@discordjs/collection";
import { glob } from "fast-glob";
import { ClientEvents } from "guilded.js";
import { Listener } from "../structures/Listener";
import { Manager } from "../structures/Manager";
import { Listener } from "./Listener";
import { Manager } from "./Manager";

import { GilEvents } from "../events";
import CommandMessageListener from "./CommandMessageListener";
import MessageListener from "./MessageListener";
import ReadyListener from "./ReadyListener";
import CommandMessageListener from "../listeners/CommandMessageListener";
import MessageListener from "../listeners/MessageListener";
import ReadyListener from "../listeners/ReadyListener";

export class ListenerManager extends Manager {
public listeners = new Collection<string, Listener>();
Expand Down

0 comments on commit c45e132

Please sign in to comment.