2023-04-04 18:19:29 +00:00
|
|
|
import random
|
|
|
|
|
2023-09-11 19:34:45 +00:00
|
|
|
from .config import main_settings
|
2023-04-18 07:02:03 +00:00
|
|
|
|
2023-09-12 12:17:58 +00:00
|
|
|
DEBUG = True
|
2023-09-12 06:45:48 +00:00
|
|
|
DEBUG_YOUTUBE_INITIALIZING = DEBUG and False
|
2023-09-12 12:17:58 +00:00
|
|
|
DEBUG_PAGES = DEBUG and True
|
2023-09-12 08:58:44 +00:00
|
|
|
|
2023-09-10 14:27:09 +00:00
|
|
|
if DEBUG:
|
|
|
|
print("DEBUG ACTIVE")
|
2023-04-04 18:19:29 +00:00
|
|
|
|
|
|
|
def get_random_message() -> str:
|
2023-09-10 14:27:09 +00:00
|
|
|
return random.choice(main_settings['happy_messages'])
|
2023-04-04 19:10:47 +00:00
|
|
|
|
2023-06-20 14:40:34 +00:00
|
|
|
|
2023-09-11 19:34:45 +00:00
|
|
|
HIGHEST_ID = 2**main_settings['id_bits']
|
|
|
|
|
|
|
|
|
2023-09-12 11:56:40 +00:00
|
|
|
HELP_MESSAGE = """to search:
|
2023-06-20 14:40:34 +00:00
|
|
|
> s: {query or url}
|
|
|
|
> s: https://musify.club/release/some-random-release-183028492
|
|
|
|
> s: #a {artist} #r {release} #t {track}
|
|
|
|
|
|
|
|
to download:
|
|
|
|
> d: {option ids or direct url}
|
|
|
|
> d: 0, 3, 4
|
|
|
|
> d: 1
|
|
|
|
> d: https://musify.club/release/some-random-release-183028492
|
|
|
|
|
2023-09-12 11:56:40 +00:00
|
|
|
have fun :3""".strip()
|