Run the bot

Note: Install the full praisonai package on your machine. praisonai-code alone does not include praisonai bot.

One command

With the token set, start the bot. A default assistant is created for you.

Message the bot in Telegram. The reply should appear in that chat.

Example

pip install praisonai
praisonai bot telegram --token $TELEGRAM_BOT_TOKEN

Stop and restart

Stop the process with Ctrl+C before you start another copy with the same token.

If start fails with a polling error, another terminal or gateway may still be using that token.

Reference: documentation