8.4.0 • Published 4 days ago

@reciple/core v8.4.0

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
4 days ago

About

@reciple/core contains the core components of Reciple such as the extended Discord.js Client and command builders.

Usage

import { RecipleClient, SlashCommandBuilder } from '@reciple/core';

const client = new RecipleClient({
    token: 'MTExIHlvdSEgpHJpZWQgMTEx.O5rKAA.dQw4w9WgXxQ_wpV-gGg4PSk_bm8',
    client: {
        intents: [
            'Guilds',
            'GuildMessages',
            'MessageContent'
        ]
    }
});

await client.login();

client.commands.add(
    new SlashCommandBuilder()
        .setName('ping')
        .setDescription('Ping bot')
        .setExecute(async ({ interaction }) => interaction.reply(`Pong!`))
);

await client.commands.registerApplicationCommands();

client.on('interactionCreate', async interaction => {
    if (interaction.isChatInputCommand()) await client.commands.execute(interaction);
});
8.4.0

4 days ago

8.3.2

2 months ago

8.3.1

5 months ago

8.3.0

5 months ago

8.2.5

6 months ago

8.2.4

6 months ago

8.2.3

6 months ago

8.2.2

6 months ago

8.2.1

6 months ago

8.2.0

6 months ago

8.1.7

6 months ago

8.1.6

6 months ago

8.1.4

7 months ago

8.1.3

7 months ago

8.1.2

7 months ago

8.1.1

7 months ago

8.1.0

7 months ago

8.0.3

7 months ago

8.0.2

7 months ago

8.0.1

7 months ago

8.0.0

7 months ago

8.0.0-dev.7

7 months ago

8.0.0-dev.6

7 months ago

8.0.0-dev.5

7 months ago

8.0.0-dev.4

7 months ago

8.0.0-dev.3

7 months ago

8.0.0-dev.2

7 months ago

8.0.0-dev.1

7 months ago

8.0.0-dev.0

7 months ago