arcscord
Core framework package for Discord bots. It provides the client, command builders, component builders, event helpers, managers, localization support, and logging utilities.
Links:
Overview
arcscord is the main runtime package. It wraps Discord.js with a small framework layer built around typed handlers and manager classes:
| Area | What it provides | Guide |
|---|---|---|
ArcClient | Discord.js client subclass, manager setup, REST command registration, default messages, logging, and localization context. | Client |
| Commands | Slash commands, context menu commands, subcommands, autocomplete, command middleware, and result-style command errors. | Commands |
| Events | Typed Discord.js event handlers, readiness behavior, intent diagnostics, and event result handling. | Events |
| Middleware | Base command and component middleware classes with next, cancel, and error control flow. | Middleware |
| Localization | i18next-backed command metadata localization and runtime ctx.t(...) helpers. | Localization |
| Logging | Built-in logger utilities and optional diagnostics sink. | Logger |
Most projects only need to import from arcscord directly:
import { ArcClient, createCommand, createEvent } from "arcscord";
Use the API reference for exact generated signatures and versioned snapshots.