Voznest Forge

Workspace

WorkspaceProjects

Development

DocsAPI ReferenceSDKsEmbed StudioChangelog
  1. Forge
  2. /Docs

Start here

Getting StartedQuickstartPlatform ConceptsEnvironments

Build

ProjectsIdentityAgentsGatewayCapabilitiesPermissions ReferenceInstallationsLive activity

Commands & interactions

CommandsContext-menu CommandsInteractionsComponentsModals (Forms)Activities (Embedded Apps)

Acting in hubs

MessagesEmbedsEmbeds v2 (Blocks)Embeds v3Incoming WebhooksHub Management APIEvent StreamDelivery

Sign in with Voznest

AccessOpenID Connect

API

APIAuthenticationErrorsRate LimitsSecurity

Publish & operate

App Market & ListingTemplates & SandboxObservability & Team Tools

Tools

SDKsExamplesFAQ & TroubleshootingReference

Tools

SDKs

The JavaScript SDK in one page.

The official SDK is a single file with no build step (Node 18+, socket.io-client). See SDKs to download it with a starter.

APIDoes
new VoznestBot({ apiUrl, token, applicationId })Creates the client; botFromEnv() reads VOZNEST_* variables (the older QUORVYN_* names still work)
bot.command(def, handler)Declares a command; serverIds makes it a hub command
bot.button(prefix, handler)Handles buttons and menus whose customId starts with prefix
bot.on(event, handler)Any gateway event (MESSAGE_CREATE, MEMBER_ADD, …) or ready
bot.start({ activity, sync })Syncs commands (adds, edits, removes) and connects
bot.send / bot.edit / bot.uploadPost, edit, and upload files
ctx.reply / defer / update / followUp / failAnswer an interaction
ctx.option(name) · ctx.can(permission)Read parameters (resolved users/channels/roles) and check member permissions
embed() · button() · select() · row()Build rich messages
PreviousObservability & Team ToolsNext Examples