music-kraken-core/src/music_kraken/utils/shared.py
2023-09-11 21:34:45 +02:00

31 lines
589 B
Python

import random
from .config import main_settings
DEBUG = True
DEBUG_YOUTUBE_INITILIZING = DEBUG and False
if DEBUG:
print("DEBUG ACTIVE")
def get_random_message() -> str:
return random.choice(main_settings['happy_messages'])
HIGHEST_ID = 2**main_settings['id_bits']
HELP_MESSAGE = """
to search:
> 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
have fun :3
""".strip()