All Projects → abalabahaha → Eris

abalabahaha / Eris

Licence: mit
A NodeJS Discord library

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Eris

Discord.net
An unofficial .Net wrapper for the Discord API (http://discordapp.com)
Stars: ✭ 2,253 (+156.31%)
Mutual labels:  discord-api, bot, discord
Dsharpplus
A .NET Standard library for making bots using the Discord API.
Stars: ✭ 635 (-27.76%)
Mutual labels:  discord-api, bot, discord
Lenoxbot
🖥️ LenoxBot is a Discord bot that offers many cool new features to your Discord server!
Stars: ✭ 163 (-81.46%)
Mutual labels:  discord-api, bot, discord
Discord Panel
📊 User friendly dashboard/tool for discord bot developpers to manage servers
Stars: ✭ 116 (-86.8%)
Mutual labels:  discord-api, bot, discord
Javacord
An easy to use multithreaded library for creating Discord bots in Java.
Stars: ✭ 368 (-58.13%)
Mutual labels:  discord-api, bot, discord
Discord.js
discord.js is a powerful Node.js module that allows you to easily interact with the Discord API.
Stars: ✭ 16,432 (+1769.4%)
Mutual labels:  discord-api, bot, discord
Discordrb
Discord API for Ruby
Stars: ✭ 651 (-25.94%)
Mutual labels:  discord-api, bot, discord
Nino
🔨 Advanced and cute moderation discord bot as an entry of Discord's Hack Week!
Stars: ✭ 78 (-91.13%)
Mutual labels:  discord-api, bot, discord
Xiao
Xiao is a Discord bot coded in JavaScript with discord.js using the Commando command framework. With over 500 commands, she is one of the most feature-rich bots out there. Formerly XiaoBot.
Stars: ✭ 302 (-65.64%)
Mutual labels:  discord-api, bot, discord
Disgord
Go module for interacting with the documented Discord's bot interface; Gateway, REST requests and voice
Stars: ✭ 277 (-68.49%)
Mutual labels:  discord-api, bot, discord
Music Bot
Simple music bot with a full-blown queue system that is easy to understand
Stars: ✭ 102 (-88.4%)
Mutual labels:  discord-api, bot, discord
Deku
Multi-purpose discord bot built with discord.js
Stars: ✭ 13 (-98.52%)
Mutual labels:  discord-api, bot, discord
Discord.js Menu
💬 Easily create Discord.js v12 embed menus with reactions and unlimited customizable pages.
Stars: ✭ 89 (-89.87%)
Mutual labels:  discord-api, bot, discord
Discord Haskell
Haskell library for writing Discord bots
Stars: ✭ 129 (-85.32%)
Mutual labels:  discord-api, bot, discord
Client
A Typescript NodeJS library to interact with Discord's API, both Rest and Gateway.
Stars: ✭ 84 (-90.44%)
Mutual labels:  discord-api, bot, discord
Aegis.cpp
Discord C++ library for interfacing with the API. Join our server:
Stars: ✭ 198 (-77.47%)
Mutual labels:  discord-api, bot, discord
Basicbot
A basic example of a Discord Bot written in Python. (discord.py)
Stars: ✭ 73 (-91.7%)
Mutual labels:  discord-api, bot, discord
Bot
A Discord bot for all your needs. With memes, utilities, moderation & more, Fire is the only bot you'll need.
Stars: ✭ 79 (-91.01%)
Mutual labels:  discord-api, bot, discord
Nostrum
Elixir Discord Library
Stars: ✭ 274 (-68.83%)
Mutual labels:  discord-api, bot, discord
Commando
Official command framework for discord.js
Stars: ✭ 434 (-50.63%)
Mutual labels:  discord-api, bot, discord

Eris NPM version

A NodeJS wrapper for interfacing with Discord.

Installing

You will need NodeJS 8+. If you need voice support you will also need Python 2.7 and a C++ compiler. Refer to the Getting Started section of the docs for more details.

npm install --no-optional eris

If you need voice support, remove the --no-optional

Ping Pong Example

const Eris = require("eris");

var bot = new Eris("BOT_TOKEN");
// Replace BOT_TOKEN with your bot account's token

bot.on("ready", () => { // When the bot is ready
    console.log("Ready!"); // Log "Ready!"
});

bot.on("messageCreate", (msg) => { // When a message is created
    if(msg.content === "!ping") { // If the message content is "!ping"
        bot.createMessage(msg.channel.id, "Pong!");
        // Send a message in the same channel with "Pong!"
    } else if(msg.content === "!pong") { // Otherwise, if the message is "!pong"
        bot.createMessage(msg.channel.id, "Ping!");
        // Respond with "Ping!"
    }
});

bot.connect(); // Get the bot to connect to Discord

More examples can be found in the examples folder.

Useful Links

The website includes more detailed information on getting started, as well as documentation for the different components.

The Discord API channel (#js_eris) is the best place to get support/contact me.

The GitHub repo has the most updated code.

The NPM package

License

Refer to the LICENSE file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].