qmetrics.net

discord.js

Node.js library for the Discord API

discord.js screenshot

discord.js is a Node.js module for interacting with the Discord API using an object-oriented style suited to building bots.

Overview

discord.js is the assembled Discord API wrapper in the discordjs organization. It is a Node.js module that lets applications interact with the Discord API with an object-oriented approach compared with many other JavaScript Discord libraries.

The project ships related packages for REST access, gateway WebSockets, voice, builders, formatters, RPC, proxying, collections, and scaffolding via create-discord-bot. Documentation and a guide cover usage and migration between major versions.

It is commonly used to build Discord bots that handle server events, messages, and voice features. Community support is available through the discord.js Discord server and Discord Developers server.

Installation is via npm with `npm install discord.js`. The website positions it as a widely used way to build Discord bots on Node.js.

Key features

  • Discord API wrapper
  • Object-oriented bot APIs
  • REST and gateway packages
  • Voice API module
  • Payload builders and formatters
  • Bot project scaffolder CLI
  • Documentation and guide
  • Related utility packages

Use cases

  • Discord chat bots
  • Server automation
  • Voice-enabled bots
  • Discord integrations
  • Community moderation tools

Tags

Similar software

FastAPI

Python web framework for building APIs with type hints

FastAPI is a Python web framework for building APIs using standard type hints. It builds on Starlette and Pydantic and generates interactive OpenAPI documentation for the endpoints you define.

★ 105.1k⟳ 9 days agoMIT

NestJS

Progressive TypeScript framework for Node.js backends

Nest organizes Node server apps with modules, dependency injection, and first-party packages for auth, data, queues, and observability.

★ 77.2k⟳ todayMIT

OkHttp

HTTP client for JVM, Android, and GraalVM

OkHttp is an HTTP client library tuned for efficient networking on Android, Java, and GraalVM native images. It offers synchronous and asynchronous call APIs with a fluent request builder.

★ 47.1k⟳ yesterdayApache-2.0
Frameworks & PlatformsDesktop/CLI app

gRPC

Cross-language remote procedure call framework

gRPC is an RPC framework that lets client and server programs communicate transparently and supports building connected, multi-language systems.

★ 45.5k⟳ todayApache-2.0

tRPC

End-to-end typesafe TypeScript APIs without code generation

tRPC helps teams define server procedures and call them from clients with full TypeScript types for inputs, outputs, and errors—no schemas or codegen step.

★ 40.9k⟳ todayMIT
Frameworks & PlatformsDesktop/CLI app

go-zero

Cloud-native Go microservices and RPC framework

go-zero is a Go web and RPC framework with code generation, built-in resilience middleware, and tooling aimed at stable high-traffic services.

★ 33.5k⟳ 9 days agoMIT