Skip to main content

automeme

The memes are sent automatically, so others will able to laugh at the jokes without having to do anything !

Program

const simplydjs = require("simply-djs");
simplydjs.automeme(client, { 
channelId: '01234567890123' // channelId (required)

// options (optional)
})
INFO

This should be implemented in the ready event !

client.on('ready' => {
simplydjs.automeme() // automeme function
})

Output

image

Arguments:

simplydjs.automeme(
client: Discord.Client,
options: memeOptions
)

Options memeOptions

ParameterTypeRequiredDefaultDescription
channelIdChannel IDnoneChannel ID of a Discord TextChannel
subArraydefault arrayAn array of custom subreddits
intervalmilliseconds120000msInterval between memes sent by the bot.
embedCustomizableEmbeddefault embedPass a CustomizableEmbed Object to customize the embed