1.0.3 • Published 3 months ago

@skillfulai/telegram-template v1.0.3

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

Skillful AI Telegram Bot Template

A ready-to-use template for creating Telegram bots powered by Skillful AI agents. This template provides a simple way to create intelligent, conversational bots with rich features.

Features

  • Full Skillful AI Agent integration
  • Rich message formatting
  • Conversation memory
  • Built-in commands

Installation

npm install @skillfulai/telegram-template

Quick Start

  1. Create a .env file with your credentials:
TELEGRAM_TOKEN=your_telegram_bot_token
SKILLFUL_API_KEY=your_skillful_api_key
AGENT_NAME=Wojak
  1. Create your bot:
const SkillfulTelegramBot = require('@skillfulai/telegram-template');
const bot = new SkillfulTelegramBot();

bot.initialize().then(() => {
    console.log('Bot is running...');
}).catch(error => {
    console.error('Failed to start bot:', error);
});

Available Commands

Your bot comes with several built-in commands:

  • /start - Welcome message and command overview
  • /info - Detailed agent information
  • /skills - List all available capabilities
  • /clear - Reset conversation history
  • /status - Check bot's operational status
  • /help - Display command help

Getting Started with Telegram

  1. Message @BotFather on Telegram
  2. Use the /newbot command
  3. Choose a name and username for your bot
  4. Copy the provided token to your .env file

Support

For support with Skillful AI:

Requirements

  • Node.js 14 or higher
  • npm or yarn
  • Telegram Bot Token
  • Skillful AI API Key
1.0.3

3 months ago

1.0.2

4 months ago

1.0.1

5 months ago

1.0.0

5 months ago