
A library for creating bots in the Bale messenger
from balethon import Client
bot = Client("TOKEN")
@bot.on_message()
async def greet(message):
await message.reply("Hello")
bot.run()
You must replace
TOKENwith the token which BotFather gives you in the Bale messenger
pip install Balethon
$ claude mcp add Balethon \
-- python -m otcore.mcp_server <graph>