Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- async def list_command(self, update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
- result = dblogic.list_feed_for_user(update.effective_user.id)
- text: str = ""
- pos: int = 1
- for r in result:
- text = f"{text}{pos}. {r}\n"
- pos += 1
- await update.message.reply_text(f"{text}")
Advertisement
Add Comment
Please, Sign In to add comment