vamo_telbot.utils.visuals

Visuals utilities for the Telegram bot.

Functions

make_bar(percent[, width, fill, empty])

Generate a simple text progress bar.

Module Contents

vamo_telbot.utils.visuals.make_bar(percent, width=12, fill='█', empty='░')

Generate a simple text progress bar.

Parameters:
  • percent (float) – Progress percentage (0-100).

  • width (int) – Total width of the bar.

  • fill (str) – Character to represent filled progress.

  • empty (str) – Character to represent empty progress.

Returns:

Text-based progress bar.

Return type:

str