Conditions | 2 |
Total Lines | 9 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | """Shared functions between cogs and main program""" |
||
27 | async def TF_emoji(status: bool) -> str: |
||
28 | """True or False emoji |
||
29 | |||
30 | :param status: Return the true value emoji |
||
31 | :type status: bool |
||
32 | :return: Check mark or X |
||
33 | :rtype str: |
||
34 | """ |
||
35 | return ":white_check_mark:" if status else ":x:" |
||
36 | |||
57 |