Skip to main content

bumpSystem

A Very cool bump reminder system that reminds when a bump is necessary [Only Disboard]

note

This function requires you to connect() to the mongo database !

Program

const simplydjs = require("simply-djs");
simplydjs.bumpSystem(client, message, {
channelId: ["01234567890123"], // channelId (required if auto: false)
// options (optional)
})
INFO

This should be implemented in the messageCreate event and requires a Message Intent !

client.on('messageCreate' => {
simplydjs.bumpSystem() // bump function
})

Output

image

Arguments:

simplydjs.bumpSystem(
client: Discord.Client,
message: Discord.Message,
options: bumpOptions
)

Options bumpOptions

ParameterTypeRequiredDefaultDescription
contentstringnoneThe content of your message that is sent to remind (maybe a ping)
embedTypeEmbeddefault embedsThe embed to remind or thank the user who bumped
togglebooleantrueToggle the bumpSystem for your preference.
autobooleantrueSets the channelId automatically to remind.
channelIdChannel ID[]noneArray of Channel ID of a Discord TextChannel (Only when auto: false)
TypeEmbed options

TypeEmbed

ParameterTypeDescription
thankEmbMessageEmbedThe embed sent to thank the user who bumped the server
bumpEmbMessageEmbedThe embed sent to remind others to bump the server