1 | # This file is part of python-cinema-club-bot
|
---|
2 | # contributed in 2024 by Mikhail Kirillov (~w96k) <w96k@runbox.com>
|
---|
3 |
|
---|
4 | # To the extent possible under law, the author(s) have dedicated all copyright
|
---|
5 | # and related and neighboring rights to this software to the public domain
|
---|
6 | # worldwide. This software is distributed without any warranty.
|
---|
7 |
|
---|
8 | # You should have received a copy of the CC0 Public Domain Dedication along
|
---|
9 | # with this software. If not, see:
|
---|
10 | # <http://creativecommons.org/publicdomain/zero/1.0/>
|
---|
11 |
|
---|
12 | INVALID_COMMAND = "Invalid command. Available commands: /add /list /remove /chooser /about"
|
---|
13 |
|
---|
14 | MOVIE_ANOTHER_USER = "Movie should choose another user ({user})"
|
---|
15 | MOVIE_NOT_PROVIDED = "Movie IMDB id is not provided. Use /movie <imdb_id>"
|
---|
16 | MOVIE_NOT_FOUND = "Movie not found on IMDB"
|
---|
17 | EXPECTED_ONE_MOVIE = "Expected only one movie"
|
---|
18 | FETCHING_MOVIE = "Movie with ID {id} is being fetched: https://imdb.com/title/tt{id}/"
|
---|
19 | FETCHING_ERROR = "Couldn't fetch movie or it is not found. Provide IMDB id, for example: 0133093"
|
---|
20 | MOVIE_REMOVE = "Movie \"{title}\" with id {id} has been removed"
|
---|
21 | MOVIE_SET = "Movie \"{title}\" proposed by {user} is succesfully set as next to watch"
|
---|
22 | MOVIES_LIST = "\"{title}\" IMDB:{id} by {user} \n"
|
---|
23 | NO_MOVIES = "No movies"
|
---|
24 |
|
---|
25 | USER_NOT_FOUND = "Provided user ({user}) not found. Check /list"
|
---|
26 | USER_NOT_PROVIDED = "User(s) is not provided"
|
---|
27 | EXPECTED_ONE_USER = "Expected only one user"
|
---|
28 | ADD_MORE_USERS = "There is no users added. You can add people who can choose movies using /add nickname"
|
---|
29 | NEXT_MOVIE_USER = "Next movie choice is up to {user}"
|
---|
30 |
|
---|
31 | USER_ADD = "User {user} has been added"
|
---|
32 | USERS_ADDED = "Users have been added successfully. Use /list to view."
|
---|
33 | USER_REMOVE = "User {user} has been removed. Use /list to view."
|
---|
34 | USERS_REMOVED = "Users has been removed"
|
---|
35 | USER_SET = "Users have been set successfully. Use /list to view."
|
---|
36 | USER_CHOOSE = "Next movie should choose: {user}"
|
---|
37 | NO_USERS = "No user added. You can add users by /add <nickname1> <nickname2>"
|
---|
38 |
|
---|
39 | EVENT_INVALID_DATETIME = """
|
---|
40 | Can't parse provided datetime. It should comply template like this:
|
---|
41 | /event 1.08.2024/18:00 <where>
|
---|
42 | """
|
---|
43 | EVENT_CANT_BE_IN_PAST = "Event can't happen in the past. You set {when}, but today is {today}"
|
---|
44 | EVENT_ARGS_NOT_PROVIDED = """
|
---|
45 | Event commands need arguments provided:
|
---|
46 | /event <when> <where>
|
---|
47 | /event 1.08.2024/18:00 84 Erevan Str 1st entrance 7 floor 451 apartment
|
---|
48 | """
|
---|
49 | EVENT_WHERE_NOT_PROVIDED = """
|
---|
50 | Second <where> argument is not provided and previous event doesn't has it.
|
---|
51 | /event <when> <where>
|
---|
52 | /event 1.08.2024/18:00 84 Erevan Str 1st entrance 7 floor 451 apartment
|
---|
53 | """
|
---|
54 |
|
---|
55 | EVENT_CREATED = "Event at {when} was created"
|
---|
56 | EVENT_EDITED = "Event at {when} was modified"
|
---|
57 | EVENTS_LIST = "[{finished}] \"{movie}\" by {user} at {when} in {where}\n"
|
---|
58 | EVENT_MOVIE_NOT_CHOOSEN = "You should choose a film first using /movie <imdb_id>"
|
---|
59 | EVENT_MOVIE_NOT_SET = "<None>"
|
---|
60 | EVENT_USER_HAD_EVENT = "User {user} have already finished event, so he can't choose twice. See /next or /list"
|
---|
61 | NO_EVENTS = "No events"
|
---|
62 |
|
---|
63 | UNDEFINED_ERROR = "Exception: something unexpected happened. Check the logs."
|
---|