aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushMessageManager.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/extensions/discord.js/BushMessageManager.ts')
-rw-r--r--src/lib/extensions/discord.js/BushMessageManager.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/extensions/discord.js/BushMessageManager.ts b/src/lib/extensions/discord.js/BushMessageManager.ts
new file mode 100644
index 0000000..c9256a9
--- /dev/null
+++ b/src/lib/extensions/discord.js/BushMessageManager.ts
@@ -0,0 +1,14 @@
+/* eslint-disable @typescript-eslint/no-explicit-any */
+import { Collection, MessageManager, Snowflake } from 'discord.js';
+import { BushClient } from '../discord-akairo/BushClient';
+import { BushDMChannel } from './BushDMChannel';
+import { BushMessage } from './BushMessage';
+import { BushTextChannel } from './BushTextChannel';
+
+export class BushMessageManager extends MessageManager {
+ public declare readonly client: BushClient;
+ public declare cache: Collection<Snowflake, BushMessage>;
+ constructor(channel: BushTextChannel | BushDMChannel, iterable?: Iterable<any>) {
+ super(channel, iterable);
+ }
+}