Skip to content

Uo1428/-yxsifdev-Bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guia para el handler

Estructura para crear comando de prefijo:

const emj = require("../../botconfig/emojis.json");
const emb = require("../../botconfig/embed.json");

module.exports = {
  name: "cmd-name",
  description: "cmd-name",
  usage: "p!cmd-name",
  aliases: [],
  owner: false,
  memberPermissions: [],
  botPermissions: [],
  async execute(message, args, client) {},
};

Estructura para crear comando slash:

const { SlashCommandBuilder } = require("discord.js");
const emj = require("../../botconfig/emojis.json");
const emb = require("../../botconfig/embed.json");

module.exports = {
  data: new SlashCommandBuilder()
    .setName("cmd-name")
    .setDescription("Return cmd-name"),
  owner: false,
  memberPermissions: [],
  botPermissions: [],
  async execute(interaction, client) {},
};

Estructura para crear componentes:

const emj = require("../../botconfig/emojis.json");
const emb = require("../../botconfig/embed.json");

module.exports = {
  data: {
    name: "component-name",
  },
  async execute(interaction, client) {},
};

About

yet another multi-purpose bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%