0.1.0 • Published 2 years ago

autocode-djs v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Autocode Discord.js "Support"

This module allows you to use Discord.js code! Well... sort of. This module doesn't have all of the Discord.js API because of Autocode limitations. (You can check what are available by console logging the event.)

Usage

Currently, CommandInteraction, ButtonInteraction and SelectMenuInteraction are only supported.

const { CommandInteractionEvent } = require('autocode-djs');

await CommandInteractionEvent(context, lib, async (interaction) => {
  await interaction.reply({ content: 'Hello, world!' });
});

NOTE

You'll have to use await for every single function, I don't know how ill fix this currently.

0.1.0

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago