Integrations
PicoClaw can talk to you and your friends on chat apps.
Telegram Bot
You can run your own Telegram Bot powered by PicoClaw.
1. Get a Bot Token
- Open Telegram and search for @BotFather.
- Type
/newbot. - Name your bot and give it a username.
- BotFather will give you a TOKEN. Copy it.
2. Configure PicoClaw
Add this to your config.json:
json
"integrations": {
"telegram": {
"token": "your-telegram-token-here",
"allow_users": ["your_telegram_username"]
}
}- token: The one you got from BotFather.
- allow_users: Important! Only put your username here. Otherwise, anyone can talk to your bot and use your API credits!
Discord Bot
Similar to Telegram, you can add a Discord bot.
json
"integrations": {
"discord": {
"token": "your-discord-bot-token",
"application_id": "your-app-id"
}
}WARNING
Always keep your tokens secret! Never share your config.json with others.