Implement register_bot
including bot schema
#6928
Merged
register_bot
including bot schema
#6928