Telegram Bot

Here's an example showing you how to setup the .env, config, and run the Telegram client

Environment

Set these .env variables by following the documentation on creating a telegram application. Additionally, by following the process to create a bot and edit it to your liking leveraging the @Botfather bot on telegram.

Name

TELEGRAM_TOKEN

Simply enable the feature and configure as seen below:

    "telegram": {
        "surrounding_messages": 10,
        "selection_rate": 0.1
    }
},
"enabled_clients": [
    "telegram"
],

Run the below start command as always:

cargo run -- --character hunter.json

Add the bot to your chosen telegram chat!

Search for your bot and /start to begin, feel free to add our @fabelis_bot!

Last updated