1.0.7 • Published 3 months ago

@skillfulai/discord-template v1.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
3 months ago

@skillfulai/discord-template

A Discord bot integration for Skillful AI agents with intelligent conversation engagement.

Quick Start

npm install @skillfulai/discord-template
const SkillfulDiscordBot = require('@skillfulai/discord-template');

// Basic usage
const bot = new SkillfulDiscordBot({
    discordToken: 'your_discord_token',
    skillfulApiKey: 'your_skillful_api_key'
});

// Start the bot
bot.start()
    .then(() => console.log('Bot started'))
    .catch(console.error);

// Handle graceful shutdown
process.on('SIGINT', async () => {
    await bot.stop();
    process.exit(0);
});

Features

  • 🤖 Easy Discord bot setup
  • 💬 Intelligent conversation engagement
  • 👥 User mention handling
  • 📊 Activity-based response system

Configuration

const bot = new SkillfulDiscordBot({
    // Required
    discordToken: 'your_discord_token',
    skillfulApiKey: 'your_skillful_api_key',

    // Optional
    agentName: 'Wojak',          // Default: 'Wojak'
    debug: false,                // Default: false
    proactive: false,           // Default: false
    proactiveThreshold: 50      // Default: 50
});

Proactive Mode

Enable intelligent conversation engagement:

const bot = new SkillfulDiscordBot({
    discordToken: 'your_discord_token',
    skillfulApiKey: 'your_skillful_api_key',
    proactive: true,
    proactiveThreshold: 50  // Engagement threshold (0-100)
});

Prerequisites

  1. Discord Bot Token

  2. Skillful AI API Key

Documentation

For detailed documentation, visit:

Support

1.0.7

3 months ago

1.0.6

5 months ago

1.0.5

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago