Utility bot for rhythm game D4DJ. (Note that some dependencies are not public)
miyu-bot/miyu_bot/commands/common/formatting.py

2 lines
108 B

def format_info(info_entries: dict):
return '\n'.join(f'{k}: {v}' for k, v in info_entries.items() if v)