Addon System
To start creating addons for Aegis Bot, please review the examples within the Addons > Example folder.
Types of Addons
There are two main types of addons you can create for Aegis Bot:
Command Addons
Event Addons
Command Addons
Naming Convention: Command addons need to be named in the format
cmd_x(wherexis a unique name).
Example Command Addon
const { SlashCommandBuilder } = require('@discordjs/builders');
module.exports = {
data: new SlashCommandBuilder()
.setName('test')
.setDescription('Test command!'),
async execute(interaction, client) {
interaction.reply({ content: 'This is a test', ephemeral: true });
}
};Event Addons
Naming Convention: Event addons can be named anything. For example,
example_addon.
Example Event Addon
Steps to Create Addons
1
2
3
Last updated
