JSPM

  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q76545F
  • License ISC

Esta es una libreria para el bot Hennus

Package Exports

  • hennus-api
  • hennus-api/app/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hennus-api) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Hennu's-Api Texto alternativo

Esta npm es una prueba privada para usarla en un bot publico.

Bots 🤖

Bot Link
Hennus-Bot Discord

Ejemplo

const { GatewayIntentBits, Client } = require("hennus-api");

const client =  new Client(
    {
        intents: [ GatewayIntentBits.Guilds ],  
    }
);

client.on("Ready", (ready)=>{
    console.log("Bot Prendido");
    client.aplication.commands.create({ name: "holas" description: "TestHola"});
});

client.on("InteractionCreate", (int)=>{

    if(int.isCommand() && int.commandName == "hola"){
        int.reply("Hola");
    };
});

client.login("Token");

Problemas

No hay soporte para esta npm si la usar ten en consideracion que esto es una prueba mas que nada.