New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

reputation-core

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reputation-core

A discord bot framework based on modules.

latest
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

Reputation Core

npm npm license GitHub issues

A transformed version of the module handler from the Reputation Bot. It is now an npm module to handle any discord bot. ReputationCore is build off of Discord.js

Simple Usage

Make sure to run npm install reputation-core

index.js

const BotCore = require('reputation-core');

let bot = new BotCore({modulePath: 'modules', token: 'ABCDEF'});

bot.on('ready', () => {
	console.log(`Logged in as ${bot.client.user.tag}`);
})

modules/ping.mod.js

exports.id = 'ping';
exports.onLoad = api => {
	api.commands.add('ping', (msg) => {

		// msg is the Discord Message (discord.js)
		msg.channel.send(':ping_pong: Pong!');

	})
};

Documentation

todo

FAQs

Package last updated on 04 Mar 2018

Did you know?

Socket

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.

Install

Related posts