| Conditions | 2 |
| Total Lines | 13 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | """Shared functions between cogs and main program""" |
||
| 28 | async def TF_emoji(status: bool) -> str: |
||
| 29 | """TF_emoji |
||
| 30 | |||
| 31 | Returns string for emoji for true false. |
||
| 32 | |||
| 33 | Arguments: |
||
| 34 | --- |
||
| 35 | status {bool} -- If the value is true |
||
| 36 | |||
| 37 | Returns: |
||
| 38 | str -- either a check mark or x emoji |
||
| 39 | """ |
||
| 40 | return ":white_check_mark:" if status else ":x:" |
||
| 41 | |||
| 61 |