0.0.3 • Published 8 months ago

neko-discord v0.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago

Neko-Discord

Installation

Pour installer le module, utilisez la commande suivante :

npm install neko-discord

Utilisation

Voici un exemple d'utilisation du module :

// Importation
const neko = require('neko-discord')
const bot = new nd()
    .setToken('Token')
    
bot.start()

neko.commands.add("ping", "description...", (interraction) => {
    const embed = new neko.embed()
        .setTitle("🏓 Ping 🏓")
        .setFields({name: "Ping :", value: Date.now() - interraction.createdTimestamp + "ms"})
    interraction.reply({ embeds: [embed] })
})

Update

- Modifaction des commands en slashcommands
0.0.3

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago