1.1.4 • Published 2 years ago
sliceyjs v1.1.4
About
SliceyJS is a utility addon for the widely used Discord API module, discord.js. SliceyJS adds a handful of features the average bot developer might find useful or helpful when attempting to scale their bot to production!
- Up-to-date
- Lightweight
- Consistent
- Simple
- TS & JS support
NOTICE
: SliceyJS is still a WIP. It only offers clustering and sharding at the moment!
Installation
Node.js 16.6.0 or newer is required.
npm i discord.js
npm i sliceyjs
Basic Usage
const { Intents } = require('discord.js');
const { Client } = require('sliceyjs');
const bot = new Client('token', { intents: [Intents.FLAGS.GUILDS, Intents.FLAGS.GUILD_MESSAGES] });
bot.on('ready', () => {
console.log(`Logged in as ${bot.user.tag}!`);
});
bot.on('messageCreate', message => {
if (message.content === 'ping') {
message.channel.send('pong');
}
});
bot.login()
Links
1.1.4
2 years ago
1.1.3
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago
1.1.2
3 years ago
1.0.6
3 years ago
1.1.0-beta.238048502-84923048
3 years ago
1.1.0-beta.6
3 years ago
1.0.5
3 years ago
1.1.0-beta.5
3 years ago
1.1.0-beta.4
3 years ago
1.1.0-beta.2
3 years ago
1.1.0-beta.1
3 years ago
1.1.0-beta.3
3 years ago
1.0.4
3 years ago
1.0.2
3 years ago
1.1.0-beta.0
3 years ago
1.0.3
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago