Changeset 0239940 in python-cinema-club-bot


Ignore:
Timestamp:
Oct 10, 2024, 7:50:41 AM (5 weeks ago)
Author:
Mikhail Kirillov <w96k@…>
Branches:
master
Children:
694d823
Parents:
99cecda
Message:

Remove messages when adding more people

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • commands/users.py

    r99cecda r0239940  
    4747    for user in context.args:
    4848        context.chat_data["users"].append(user)
    49         await update.message.reply_text(USER_ADD.format(user=user))
    5049
    5150    await update.message.reply_text(USERS_ADDED)
  • strings.py

    r99cecda r0239940  
    3030NEXT_MOVIE = " and they have choosen to watch \"{movie}\""
    3131
    32 USER_ADD = "User {user} has been added"
    3332USERS_ADDED = "Users have been added successfully. Use /list to view."
    3433USER_REMOVE = "User {user} has been removed. Use /list to view."
Note: See TracChangeset for help on using the changeset viewer.