SkillAgentSearch skills...

Discord.io

A small, single-file library for creating DiscordApp clients from Node.js or the browser

Install / Use

/learn @izy521/Discord.io
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<p align="center"><img src="http://i.imgur.com/kFzW7Uo.png"></p> <h1 align="center">discord.io</h1>

A small, single-file, fully featured Discordapp library for Node.js and browsers.

Discord NPM

Requirements

Required:

  • Node.js 0.10.x or greater
  • Web Browser if not using Node.js

Optional:

  • Audio
    • Node.js 0.12.x
    • ffmpeg/avconv (needs to be added to PATH)

Documentation / Gitbooks

Getting Started:

Installing

Stable npm install discord.io

Latest npm install izy521/discord.io

Example

var Discord = require('discord.io');

var bot = new Discord.Client({
    token: "",
    autorun: true
});

bot.on('ready', function() {
    console.log('Logged in as %s - %s\n', bot.username, bot.id);
});

bot.on('message', function(user, userID, channelID, message, event) {
    if (message === "ping") {
        bot.sendMessage({
            to: channelID,
            message: "pong"
        });
    }
});
View on GitHub
GitHub Stars532
CategoryDevelopment
Updated26d ago
Forks151

Languages

JavaScript

Security Score

100/100

Audited on Mar 6, 2026

No findings