Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Ghastly is a modular command library built for Discord.js bots. It provides a powerful but flexible API which abstracts away boilerplate and makes command building a more elegant process.
Ghastly is available through npm.
npm install --save ghastly
or
yarn add ghastly
You should also install Discord.js v11 if you haven't already. This library requires Node.js >=7. For Node.js <7.6, you must start your application using node --harmony
in order to enable support for async
functions.
This is a short runnable snippet using Ghastly. You can find more information and examples on the Ghastly website.
const { Client } = require('ghastly');
function ping() {
async function handler() {
return 'Pong!';
}
return {
handler,
triggers: ['ping'],
};
}
const client = new Client({ prefix: '!' });
client.commands.add(ping);
client.login('token');
[0.5.0]
RegExp
as a prefix. The flags associated with that RegExp
are preserved.FAQs
A powerful and flexible library for modularizing Discord.js clients.
The npm package ghastly receives a total of 15 weekly downloads. As such, ghastly popularity was classified as not popular.
We found that ghastly demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.