1.2.2 • Published 1 year ago

@astra-lite.js/compact v1.2.2

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

astra-lite.js

Installation

Pour installer le module, utilisez la commande suivante :

npm install @astra-lite.js/compact

Exemple

const Compact = require("@astra-lite.js/compact");
new Compact({
  token:
    "VOTRE_TOKEN",
  messageReplies: {
    salut: { text: "Hello, `@{user.username}`" },
  },
  commands: [
    {
      name: "ping", // String
      description: "Pong!", // String
      inGuild: true, // Boolean
      permissions: "everyone",
      execute(client, interaction) {
        interaction.reply("Pong!");
      },
    },
  ],
}).toCompact();

Noublier pas de remplace VOTRE_TOKEN par votre token de votre bot discord!

Patchnote

Added:

  • Ajout de la connection simple avec l'api (donc le bot)

Links

1.2.2

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago