ClawBot — Telegram, Discord & Slack Bot Framework for Remote Machine Control


ClawBot empowers you to build chat-ops solutions, automating remote machine control through Telegram, Discord, and Slack. As a Telegram bot framework Node.js alternative to Telegraf, and providing similar Discord bot automation to discord.js and Slack bot remote control to Bolt for Slack, ClawBot simplifies complex workflows.
Features
- Automate remote server tasks using a Telegram bot framework Node.js.
- Manage Discord bot automation with command execution and task scheduling.
- Enable Slack bot remote control for server management and application deployment.
- Integrate chat-ops pipelines across Telegram, Discord, and Slack.
- Extend functionality with custom Node.js modules and middleware.
Use Cases
- Control remote servers via Telegram commands
- Run shell commands from Discord or Slack
- Build ChatOps workflows with AI agent integration
Get Started
npm install clawbot
Quick Start
import { ClawBot } from 'clawbot';
const bot = await ClawBot.create({
apiKey: process.env.CMDOP_API_KEY,
});
bot.command('deploy', async (ctx) => {
const result = await bot.exec('npm run build', ctx);
await ctx.reply(`Build done: ${result.output}`);
});
await bot.addTelegram({ token: process.env.TELEGRAM_TOKEN });
await bot.start();
Links