@itsrauf/snap
TypeScript icon, indicating that this package has built-in type declarations

1.2.2 • Public • Published

snap

Snap: The easy to use framework for Eris https://abal.moe/Eris/ (meant for beginners!)


Example:

const Snap = require("@itsrauf/snap");

const bot = new Snap.CommandClient("prefix", "token");
bot.on("ready", () => {
  console.log("Ready!");
});

const ping = new Snap.Command(
  "ping",
  (msg, args, bot) => {
    msg.channel.createMessage("Pong!");
  },
  {
    description: "Ping Pong!",
    usage: "ping"
  }
);
bot.commands.addItem("ping", ping);

bot.connect();

Readme

Keywords

none

Package Sidebar

Install

npm i @itsrauf/snap

Weekly Downloads

3

Version

1.2.2

License

MIT

Unpacked Size

15.6 kB

Total Files

23

Last publish

Collaborators

  • itsrauf