using standard lib structure
Eliminated deprecations from bot package