1.1.8 • Published 4 years ago

@sinistrecyborg/ivy v1.1.8

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

About Ivy

Ivy is a simple, utilitarian bot core (command framework) for Eris. I got tired of writing the same code for every new bot, so I built my own solution for it. It offers the bare minimum features necessary for any Discord bot.

It features:

  • Command and Event loading and management
  • A colorful logger
  • That's pretty much it; like I said, it's simple.

Example

const { IvyClient } = require("@sinistrecyborg/ivy");
const path = require("path");
 
const client =  new IvyClient({
   prefix: "!",
   token: "INSERT TOKEN HERE",
});

client
   .bindEvents(path.join(process.cwd(), "events"))
   .commands.bulkLoad(path.join(process.cwd(), "commands"))
   .connect();
const { Command } = require("@sinistrecyborg/ivy");
class PingCommand extends Command {

   constructor(client) {
      super(client, {
         name: "ping",
         description: "Check my connection to Discord.",
         category: "utility",
      });
   }
   
   exec(message) {
      return message.channel.createMessage(`🏓 ${message.author.mention}, Pong!`);
   }

}

module.exports = PingCommand;

License

Ivy is released under the MIT License.

1.1.8

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.0

4 years ago

1.1.4

4 years ago

1.0.2

4 years ago

1.0.0

4 years ago