Changeset 6623428 in python-cinema-club-bot for strings.py


Ignore:
Timestamp:
Oct 9, 2024, 10:46:19 PM (5 weeks ago)
Author:
Mikhail Kirillov <w96k@…>
Branches:
master
Children:
9be02d9
Parents:
0d48ea2
git-author:
Mikhail Kirillov <w96k@…> (10/09/24 04:53:26)
git-committer:
Mikhail Kirillov <w96k@…> (10/09/24 22:46:19)
Message:

Add movies commands

File:
1 edited

Legend:

Unmodified
Added
Removed
  • strings.py

    r0d48ea2 r6623428  
    1111
    1212INVALID_COMMAND = "Invalid command. Available commands: /add /list /remove /chooser /about"
     13
     14MOVIE_ANOTHER_USER = "Movie should choose another user ({user})"
     15MOVIE_NOT_PROVIDED = "Movie is not provided"
     16MOVIE_NOT_FOUND = "Movie not found on IMDB"
     17EXPECTED_ONE_MOVIE = "Expected only one movie"
     18FETCHING_MOVIE = "Movie with ID {id} is being fetched: https://imdb.com/title/tt{id}/"
     19FETCHING_ERROR = "Couldn't fetch movie or it is not found. Provide IMDB id, for example: 0133093"
     20MOVIE_REMOVE = "Movie \"{title}\" with id {id} has been removed"
     21MOVIE_SET = "Movie \"{title}\" proposed by {user} is succesfully set as next to watch"
     22
     23USER_NOT_FOUND = "Provided user ({user}) not found. Check /list"
    1324USER_NOT_PROVIDED = "User(s) is not provided"
    1425EXPECTED_ONE_USER = "Expected only one user"
     26ADD_MORE_USERS = "There is no users added. You can add people who can choose movies using /add nickname"
     27NEXT_MOVIE_USER = "Next movie choice is up to {user}"
     28
    1529USER_ADD = "User {user} has been added"
    1630USERS_ADDED = "Users have been added successfully. Use /list to view."
     31
    1732USER_REMOVE = "User {user} has been removed. Use /list to view."
    1833USERS_REMOVED = "Users has been removed"
     34
    1935USER_SET = "Users have been set successfully. Use /list to view."
     36USER_CHOOSE = "Next movie should choose: {user}"
    2037
     38UNDEFINED_ERROR = "Exception: something unexpected happened. Check the logs."
Note: See TracChangeset for help on using the changeset viewer.