detritus-client
Version:
A Typescript NodeJS library to interact with Discord's API, both Rest and Gateway.
18 lines (17 loc) • 600 B
TypeScript
import { ShardClient } from '../client';
import { Interaction } from '../structures';
import { BaseClientCollection, BaseClientCollectionOptions } from './basecollection';
/**
* @category Collection Options
*/
export interface InteractionsOptions extends BaseClientCollectionOptions {
}
/**
* Interactions Collection
* @category Collections
*/
export declare class Interactions extends BaseClientCollection<string, Interaction> {
constructor(client: ShardClient, options?: InteractionsOptions | boolean);
insert(interaction: Interaction): void;
get [Symbol.toStringTag](): string;
}