Skip to main content
Home
This package has been archived, and as such it is read-only.

Built and signed on GitHub Actions

A library for creating bots for the Meower platform.

This package works with Deno, Bun, Browsers
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
8 months ago (1.8.2)
type alias CommandOptions

Options that can be passed into RoarBot.prototype.command.

Type Parameters

TPattern extends Pattern

Properties

optional
aliases: string[]

Alternate names of the command.

The description of the command. This is shown in the help message.

optional
category: string

The category the command is in. This is shown in the help message.

The argument pattern of the command.

optional
admin: boolean

Whether this command is only usable by administrators.

fn: (
reply: RichPost["reply"],
post: RichPost,
) => void | Promise<void>

The callback to be called when the command gets executed.

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@mbw/roarbot

Import symbol

import { type CommandOptions } from "@mbw/roarbot";
or

Import directly with a jsr specifier

import { type CommandOptions } from "jsr:@mbw/roarbot";

Add Package

bunx jsr add @mbw/roarbot

Import symbol

import { type CommandOptions } from "@mbw/roarbot";