This commit is contained in:
2025-04-30 17:07:16 +03:00
commit 2190ec7ca7
37 changed files with 994 additions and 0 deletions

View File

@ -0,0 +1,27 @@
from bot.States import States
KLING_SET_PROMPT = 51
KLING_SET_TEXT_PROMPT = 52
def set_states():
states_arr = {
"set_prompt": KLING_SET_PROMPT,
"set_text_prompt": KLING_SET_TEXT_PROMPT,
}
return states_arr
class KlingStates(States):
def __init__(self):
pass
@staticmethod
def get_state_by_key(key: str):
states = set_states()
if key in states:
return states[key]
return None