add debug command (print communities) for metadata bot