Files
PlayReadyProxy-API/modules/banners.py
Pari Malam 05e4266957 released
2025-03-04 02:03:49 +08:00

27 lines
2.2 KiB
Python

import random, os
from colorama import Fore, Back, Style, init
init(autoreset=True)
def clear_terminal():
os.system('cls' if os.name == 'nt' else 'clear')
def banners():
clear_terminal()
banners = """
██████╗ ██╗ █████╗ ██╗ ██╗██████╗ ███████╗ █████╗ ██████╗ ██╗ ██╗ █████╗ ██████╗ ██╗
██╔══██╗██║ ██╔══██╗╚██╗ ██╔╝██╔══██╗██╔════╝██╔══██╗██╔══██╗╚██╗ ██╔╝ ██╔══██╗██╔══██╗██║
██████╔╝██║ ███████║ ╚████╔╝ ██████╔╝█████╗ ███████║██║ ██║ ╚████╔╝ █████╗███████║██████╔╝██║
██╔═══╝ ██║ ██╔══██║ ╚██╔╝ ██╔══██╗██╔══╝ ██╔══██║██║ ██║ ╚██╔╝ ╚════╝██╔══██║██╔═══╝ ██║
██║ ███████╗██║ ██║ ██║ ██║ ██║███████╗██║ ██║██████╔╝ ██║ ██║ ██║██║ ██║
╚═╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝
Author: GITHUB.COM/THATNOTEASY
"""
# Define a list of colors to cycle through
colors = [Fore.RED, Fore.YELLOW, Fore.GREEN, Fore.CYAN, Fore.BLUE, Fore.MAGENTA]
# Print each line of the banner with a different color
for i, line in enumerate(banners.strip().split('\n')):
color = colors[i % len(colors)] # Cycle through the colors
print(color + line + Style.RESET_ALL)