aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushThreadManager.d.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-05 16:14:12 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-05 16:14:12 -0400
commitad2077fa157d49c1099f21ac2effe05903c39035 (patch)
tree4ada5fb9a6243d21411500dc46b203ace06718e1 /src/lib/extensions/discord.js/BushThreadManager.d.ts
parentdbb2de6e5c4b0cf80a5be8e62bbabaac2f3dd516 (diff)
downloadtanzanite-ad2077fa157d49c1099f21ac2effe05903c39035.tar.gz
tanzanite-ad2077fa157d49c1099f21ac2effe05903c39035.tar.bz2
tanzanite-ad2077fa157d49c1099f21ac2effe05903c39035.zip
fixed ~500 errors from breaking changes
Diffstat (limited to 'src/lib/extensions/discord.js/BushThreadManager.d.ts')
-rw-r--r--src/lib/extensions/discord.js/BushThreadManager.d.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/extensions/discord.js/BushThreadManager.d.ts b/src/lib/extensions/discord.js/BushThreadManager.d.ts
index 6b8250b..027d532 100644
--- a/src/lib/extensions/discord.js/BushThreadManager.d.ts
+++ b/src/lib/extensions/discord.js/BushThreadManager.d.ts
@@ -1,4 +1,3 @@
-/* eslint-disable @typescript-eslint/no-explicit-any */
import {
BaseFetchOptions,
CachedManager,
@@ -8,13 +7,14 @@ import {
ThreadChannelResolvable,
ThreadCreateOptions
} from 'discord.js';
+import { RawThreadChannelData } from 'discord.js/typings/rawDataTypes';
import { BushClient, BushFetchedThreads, BushThreadChannelResolvable } from '../discord-akairo/BushClient';
import { BushNewsChannel } from './BushNewsChannel';
import { BushTextChannel } from './BushTextChannel';
import { BushThreadChannel } from './BushThreadChannel';
export class BushThreadManager<AllowedThreadType> extends CachedManager<Snowflake, BushThreadChannel, ThreadChannelResolvable> {
- public constructor(channel: BushTextChannel | BushNewsChannel, iterable?: Iterable<unknown>);
+ public constructor(channel: BushTextChannel | BushNewsChannel, iterable?: Iterable<RawThreadChannelData>);
public declare readonly client: BushClient;
public channel: BushTextChannel | BushNewsChannel;
public create(options: ThreadCreateOptions<AllowedThreadType>): Promise<BushThreadChannel>;