A Plugin for TagScript to work with discord.js related structures.
- Written In Typescript
- Offers CJS, and ESM builds
- Full TypeScript & JavaScript support
@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
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>
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!
Thanks goes to these wonderful people: