tagscript-plugin-discord
TypeScript icon, indicating that this package has built-in type declarations

2.1.2 • Public • Published

tagscript-plugin-discord

A tagscript plugin to work with discord.js

npm codecov npm

Description

A Plugin for TagScript to work with discord.js related structures.

Features

  • Written In Typescript
  • Offers CJS, and ESM builds
  • Full TypeScript & JavaScript support

Installation

tagscript-plugin-discord depends on the following packages. Be sure to install these along with this package!

You can use the following command to install this package, or replace npm install with your package manager of choice.

npm install tagscript-plugin-discord tagscript discord.js

Usage

import { Interpreter, StrictVarsParser } from 'tagscript';
import { MemberTransformer } from 'tagscript-plugin-discord';

const ts = new Interpreter(new StrictVarsParser());

await ts.run('Hi {member.username}', { member: new MemberTransformer(GuildMember) });
// Hi P<z,x>

Buy me some doughnuts

If you want to support me by donating, you can do so by using any of the following methods. Thank you very much in advance!

Buy Me A Coffee Buy Me a Coffee at ko-fi.com

Contributors

Thanks goes to these wonderful people (emoji key):

Parbez
Parbez

💻 🚧 🤔
WhiteSource Renovate
WhiteSource Renovate

🚧
Jeroen Claassens
Jeroen Claassens

🚧
UndiedGamer
UndiedGamer

💻
Sourav
Sourav

📖
allcontributors[bot]
allcontributors[bot]

📖

This project follows the all-contributors specification. Contributions of any kind welcome!

Dependencies (0)

    Dev Dependencies (5)

    Package Sidebar

    Install

    npm i tagscript-plugin-discord

    Weekly Downloads

    57

    Version

    2.1.2

    License

    MIT

    Unpacked Size

    144 kB

    Total Files

    9

    Last publish

    Collaborators

    • imranbarbhuiya