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.
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
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();
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