Skip to main content

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:

AreaWhat it providesGuide
ArcClientDiscord.js client subclass, manager setup, REST command registration, default messages, logging, and localization context.Client
CommandsSlash commands, context menu commands, subcommands, autocomplete, command middleware, and result-style command errors.Commands
EventsTyped Discord.js event handlers, readiness behavior, intent diagnostics, and event result handling.Events
MiddlewareBase command and component middleware classes with next, cancel, and error control flow.Middleware
Localizationi18next-backed command metadata localization and runtime ctx.t(...) helpers.Localization
LoggingBuilt-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.