aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushChannelManager.d.ts
blob: 924f5b601abd1b3bc8a8851fa1ef0fe12e05528b (plain)
1
2
3
4
5
6
7
8
9
10
import { Snowflake } from 'discord-api-types';
import { CachedManager, Client, FetchChannelOptions } from 'discord.js';
import { RawChannelData } from 'discord.js/typings/rawDataTypes';
import { BushChannelResolvable } from '../discord-akairo/BushClient';
import { BushChannel } from './BushChannel';

export class BushChannelManager extends CachedManager<Snowflake, BushChannel, BushChannelResolvable> {
	public constructor(client: Client, iterable: Iterable<RawChannelData>);
	public fetch(id: Snowflake, options?: FetchChannelOptions): Promise<BushChannel | null>;
}