| date | 2025-06-21 | |||||||
|---|---|---|---|---|---|---|---|---|
| category |
|
|||||||
| tags |
|
|||||||
| description | Overview of helpers in ModuBotCore | |||||||
| author |
|
ModuBotCore provides useful helper functions in ModuBotCore.helpers.
str2bool(value: str) -> bool
Converts a string to a boolean value. Useful for parsing configuration values or user input.
from ModuBotCore.helpers import str2bool
print(str2bool("true")) # True
print(str2bool("False")) # False