Skip to content

Instantly share code, notes, and snippets.

View BenSegal855's full-sized avatar
๐Ÿ––
The code wont write itself

Ben BenSegal855

๐Ÿ––
The code wont write itself
  • Somewhere writing code
  • 06:47 (UTC -05:00)
View GitHub Profile
@BenSegal855
BenSegal855 / cwb.ts
Created December 5, 2022 00:32
Sapphire subcommand test commands
import { ApplyOptions } from '@sapphire/decorators';
import type { ChatInputCommand } from '@sapphire/framework';
import { Subcommand } from '@sapphire/plugin-subcommands';
import type { Message } from 'discord.js';
@ApplyOptions<Subcommand.Options>({
description: 'A subcommand with both message and interaction handlers.',
subcommands: [
{
type: 'method',