Skip to content
Legendary Emoji edited this page Aug 22, 2021 · 1 revision

Introduction

All things related to bot config are here!

Config

Config.Token: String - Place for your Discord bot token (error if none)
Config.Default_Prefix: String - Your bot default prefix for all servers e.g. !, ?, $, etc (error if none)
Config.Color: ColorResolvable - Your bot all message embeds color, check Discord.js docs for color information (random if none)
Config.Support: String - Your bot support server link (rickroll if none)
Config.Welcome_Images: ArrayOrString - Welcome images links (the bot will send these images when someone joins), You can have 1 or more (it will send a random image from the images if there are more than 1). Default image by me if none
Config.GoodBye_Images: ArrayOrString - Same like Welcome images but it's for when someone leaves (Default image by me if none)

Examples

const config = {
    Token: "Nzg1MDk5ODY3MDU1ODQ5NDgy.X8y7Og.b6GqbhetLUNM9AajdegNpiBMFvM",
    Default_Prefix: "?",
    Color: "BLUE",
    Welcome_Images: "https://images.wallpaperscraft.com/image/lines_bends_green_219001_1600x1200.jpg",
    GoodBye_Images: "https://images.wallpaperscraft.com/image/child_river_dreams_127495_1600x1200.jpg",
    Support: "discord.gg/discord"
};

module.exports = config;

Default prefix is ?, all message embeds color is BLUE & support is discord.gg/discord (invalid)

const config = {
    Token: "NzMyODYzMzcxNzMyMzIwMzM4.Xw6yMw.WsnzmUomUKVDSGmlEi9UP9s9CZo",
    Default_Prefix: "!",
    Color: "RANDOM",
    Welcome_Images: ["https://images.wallpaperscraft.com/image/lines_bends_green_219001_1600x1200.jpg", "https://images.wallpaperscraft.com/image/valley_houses_trees_219012_1600x1200.jpg"],
    GoodBye_Images: ["https://images.wallpaperscraft.com/image/child_river_dreams_127495_1600x1200.jpg", "https://images.wallpaperscraft.com/image/cat_night_lights_74375_1600x1200.jpg"],
    Support: "discord.gg/discordapp"
};

module.exports = config;

Default prefix is !, all message embeds color is RANDOM, Multiple welcome & goodbye images & support is discord.gg/discordapp (invalid)

Clone this wiki locally