Skip to content

MTKruto/parse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MTKruto Parse

A 1:1 clone of grammyjs/parse-mode modified to work with MTKruto.

Installation

Note: Not published yet.

Deno

deno add @mtkruto/parse

pnpm

pnpm add @mtkruto/parse

Yarn

yarn add @mtkruto/parse

npm

npm install @mtkruto/parse

Bun

bun add @mtkruto/parse

Usage

import { bold, fmt, italic, replyFmt } from "@mtkruto/parse";

client.use(replyFmt);

client.on("message", async (ctx) => {
  if (!ctx.from) return;
  await ctx.replyFmt(fmt`Hi, ${bold(fmt`your ID is ${italic(ctx.from.id)}`)}.`);
});

API Reference

https://jsr.io/@mtkruto/parse/doc

License

MIT

License File

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published