-
Notifications
You must be signed in to change notification settings - Fork 0
/
states.py
29 lines (26 loc) · 982 Bytes
/
states.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import enum
from telegram.ext import ConversationHandler
class States(enum.Enum):
MENU = "MENU"
BACK = "BACK"
NEXT_PAGE = "NEXT_PAGE"
PREV_PAGE = "PREV_PAGE"
ASK_FOR_INPUT = "ASK_FOR_INPUT"
TYPING = "TYPING"
CHARACTERS = "CHARACTERS"
COMICS = "COMICS"
SERIES = "SERIES"
EVENTS = "EVENTS"
LIST_CHARACTERS = "LIST_CHARACTERS"
FIND_CHARACTER_BY_NAME = "FIND_CHARACTER_BY_NAME"
FIND_CHARACTER_BY_NAME_BEGINNING = "FIND_CHARACTER_BY_NAME_BEGINNING"
LIST_COMICS = "LIST_COMICS"
FIND_COMIC_BY_TITLE = "FIND_COMIC_BY_TITLE"
FIND_COMIC_BY_TITLE_BEGINNING = "FIND_COMIC_BY_TITLE_BEGINNING"
LIST_EVENTS = "LIST_EVENTS"
FIND_EVENT_BY_NAME = "FIND_EVENT_BY_NAME"
FIND_EVENT_BY_NAME_BEGINNING = "FIND_EVENT_BY_NAME_BEGINNING"
LIST_SERIES = "LIST_SERIES"
FIND_SERIES_BY_TITLE = "FIND_SERIES_BY_TITLE"
FIND_SERIES_BY_TITLE_BEGINNING = "FIND_SERIES_BY_TITLE_BEGINNING"
END = str(ConversationHandler.END)