Socket
Socket
Sign inDemoInstall

memecord

Package Overview
Dependencies
93
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    memecord

A discord bot framework


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

memecord

Join the support discord NPM Version Downloads Dependencies Greenkeeper badge Codacy Badge

NPM

About


memecord is a Discord bot framework, based on discord.js, that allows you to easily create Discord bots. Take a look at the Documentation for further info.

Installation


NodeJS 6.0.0 or newer is required
Ignore any warnings about unmet peer dependencies, as they're all optional.

Without voice support: npm install memecord --save
With voice support: npm install memecord node-opus --save

Example


const memecord = require('memecord');

const client = new memecord.Client({
    token: 'your token here',
    ownerID: '277411860125581312',
    prefix: 'meme!',
    logLevel: 'VERBOSE'
});

const someCommand = new memecord.Command({
  names: ['meme', 'memes'],
  description: 'Sends a random meme',
  cooldown: 1000,
  run: function(message) {
    message.channel.send('Error 404: Meme not found');
  }
});

client.registerCommand(someCommand);

client.run();

Help


If you don't understand something in the documentation, how to use the framework, you are experiencing problems, or you just need friends (i feel you), don't hesistate to join our Discord Server

Keywords

FAQs

Last updated on 12 May 2017

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc