@reciple/utils
TypeScript icon, indicating that this package has built-in type declarations

9.0.1 • Public • Published



About

@reciple/utils global utilities used by reciple modules

Usage

import { MessageURLData } from '@reciple/utils';
import { RecipleClient } from '@reciple/core';

const client = new RecipleClient({
    token: process.env.TOKEN,
    client: {
        intents: ['Guilds']
    }
});

const messageData = await MessageURLData.fetch('https://discord.com/channels/0000000000000000000/0000000000000000000/0000000000000000000', client);

if (messageData.inGuild()) await messageData.message.reply('yeah');

await client.login();

Readme

Keywords

Package Sidebar

Install

npm i @reciple/utils

Weekly Downloads

421

Version

9.0.1

License

GPL-3.0

Unpacked Size

75.5 kB

Total Files

38

Last publish

Collaborators

  • catplusplus