Guest User

Untitled

a guest
Jun 18th, 2023
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.34 KB | None | 0 0
  1.     async def list_command(self, update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
  2.         result = dblogic.list_feed_for_user(update.effective_user.id)
  3.         text: str = ""
  4.         pos: int = 1
  5.         for r in result:
  6.             text = f"{text}{pos}. {r}\n"
  7.             pos += 1
  8.         await update.message.reply_text(f"{text}")
Advertisement
Add Comment
Please, Sign In to add comment