πŸ“ͺHow To Create Addons ?

Documentation How To Create Addons.

It's just a simple tutorial explaining how to create an addon

Follow these steps to create an addon

  • First, inside the addons folder you will have to create a folder with the name of your addon

  • Then create your .js and .yaml file inside your addon folder in this case and review

  • After that you can start creating your code I will give an example so you can create the addons

const { Addon } = require("../../functions/addon");
const { ApplicationCommandOptionType, EmbedBuilder } = require("discord.js");
const fs = require('fs');
const yaml = require('js-yaml');
const config = yaml.load(fs.readFileSync('structures/addons/review/review-config.yml', 'utf8', 2))

module.exports = new Addon({
	name: "review",
	description: config.REVIEW.DESCRIPTION,
    disabled: config.REVIEW.DISABLED,

	run: async (client, interaction) => {

    // your code here

	}
});

How can I validate my addon

just enter our discord server, open a ticket and ask us to validate your addon - Discord Server

Last updated