© 2026 Hedgehog Software, LLC
transcript/:id
import { ApplyOptions } from '@sapphire/decorators'; import { Route, type RouteOptions } from '@sapphire/plugin-api'; @ApplyOptions<RouteOptions>({ route: 'transcript/:id', methods: ['GET'] }) export class TranscriptRoute extends Route { public async run(_request: Route.Request, response: Route.Response): Promise<void> { const { id } = _request.params as { id: string }; // Code... } }
Join the Discord to ask follow-up questions and connect with the community
Sapphire is a next-gen object-oriented Discord.js bot framework.
2,286 Members