djs-systems
Version:
The simplest way to build complex Discord bots.
22 lines (21 loc) • 850 B
TypeScript
import { Client, Channel } from 'discord.js';
import { CustomizableEmbed } from './typedef';
/**
* **Documentation Url** of the options: https://simplyd.js.org/docs/systems/meme#memeoptions
*/
export declare type memeOptions = {
embed?: CustomizableEmbed;
channelId?: string;
interval?: number;
sub?: string[] | string;
strict?: boolean;
};
/**
* The memes are sent automatically, so others will able to laugh at the jokes without having to do anything !
* @param clientOrChannel
* @param options
* @link `Documentation:` https://simplyd.js.org/docs/systems/meme
* @example simplydjs.meme(client, { channelId: '1234567890123' })
* @example simplydjs.meme(channel, { sub: ["coding", "memes"] })
*/
export declare function meme(clientOrChannel: Client | Channel, options?: memeOptions): Promise<void>;