1.1.0 • Published 2 years ago

hebe-framework v1.1.0

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

Hebe

A simple framework for the Eris Discord library.

GitHub GitHub Repo stars npm

Introduction

Hebe is a Discord bot framework built with eris. It is probably coding like shit but it works (and it has a small unpacking size :D). If you want to help me in this project, you can join the discord server.

Installation

npm install hebe-framework eris

Example

// Main file
const { Client } = require('hebe-framework');

const client = new Client('your_bot_token', {
  erisOptions: { // Client options provided by Eris
    intents: ['all']
  },
  commandsDirectory: 'src/commands', // The directory of your commands folder
  eventsDirectory: 'src/events', // The directory of your events folder
  messageCommands: true, // Whether message commands work
  applicationCommands: true, // Whether application commands work
  prefix: '!', // The prefix used for message commands
  owners: ['your_id'], // The owners of the bot
  enableDebugLoggings: true // You should enable this when developing the bot
});

client.on('error', err => {
  client.logger.error(err);
});

client.connect();

You can find more examples in the examples folder.

Planned (or not 🤡)

  • I'm waiting for your feedback so there is nothing planned for the moment

FAQ

1.1.0

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

0.1.1

2 years ago